Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.mortbay.util.ThreadPool
org.mortbay.http.nio.SocketChannelListener
Nested Class Summary |
Nested classes/interfaces inherited from class org.mortbay.util.ThreadPool | |
ThreadPool.PoolThread |
Field Summary |
Fields inherited from class org.mortbay.util.ThreadPool | |
__DAEMON , __PRIORITY |
Fields inherited from interface org.mortbay.http.HttpListener | |
ATTRIBUTE |
Constructor Summary | |
|
Method Summary | |
void |
|
int | |
int | |
int | |
String | |
String | |
String |
|
HttpHandler | |
HttpServer | |
int | |
String | |
int | |
int |
|
int |
|
boolean |
|
boolean |
|
boolean | |
boolean | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.mortbay.util.ThreadPool | |
getIdleThreads , getMaxIdleTimeMs , getMaxThreads , getMinThreads , getName , getPoolName , getThreads , getThreadsPriority , handle , isDaemon , isStarted , join , run , setDaemon , setMaxIdleTimeMs , setMaxStopTimeMs , setMaxThreads , setMinThreads , setName , setPoolName , setThreadsPriority , shrink , start , stop , stopJob |
public void customizeRequest(HttpConnection connection, HttpRequest request)
- Specified by:
- customizeRequest in interface HttpListener
public int getBufferReserve()
- Specified by:
- getBufferReserve in interface HttpListener
public int getConfidentialPort()
- Specified by:
- getConfidentialPort in interface HttpListener
public String getConfidentialScheme()
- Specified by:
- getConfidentialScheme in interface HttpListener
public String getDefaultScheme()
- Specified by:
- getDefaultScheme in interface HttpListener
public HttpHandler getHttpHandler()
- Specified by:
- getHttpHandler in interface HttpListener
- See Also:
HttpListener.getHttpHandler()
public String getIntegralScheme()
- Specified by:
- getIntegralScheme in interface HttpListener
public int getLingerTimeSecs()
- Returns:
- seconds.
public int getSslPort()
get_sslPort.
- Returns:
- Port to redirect integral and confidential requests to.
public boolean isConfidential(HttpConnection connection)
- Specified by:
- isConfidential in interface HttpListener
public boolean isIntegral(HttpConnection connection)
- Specified by:
- isIntegral in interface HttpListener
public boolean isLowOnResources()
- Specified by:
- isLowOnResources in interface HttpListener
public boolean isOutOfResources()
- Specified by:
- isOutOfResources in interface HttpListener
public void persistConnection(HttpConnection connection)
- Specified by:
- persistConnection in interface HttpListener
public void setBufferReserve(int size)
public void setBufferSize(int size)
public void setHost(String host) throws UnknownHostException
- Specified by:
- setHost in interface HttpListener
- See Also:
org.mortbay.http.HttpListener.setHost(java.lang.String)
public void setHttpServer(HttpServer server)
- Specified by:
- setHttpServer in interface HttpListener
public void setLingerTimeSecs(int ls)
- Parameters:
public void setSslPort(int p)
set_sslPort.
- Parameters:
p
- Port to redirect integral and confidential requests to.