org.mortbay.http.nio
public class SocketChannelListener extends ThreadPool implements HttpListener
Version: $Revision: 1.6 $
Constructor Summary | |
---|---|
SocketChannelListener() Constructor.
|
Method Summary | |
---|---|
void | customizeRequest(HttpConnection connection, HttpRequest request) |
int | getBufferReserve() |
int | getBufferSize() |
int | getConfidentialPort() |
String | getConfidentialScheme() |
String | getDefaultScheme() |
String | getHost() |
HttpHandler | getHttpHandler() |
HttpServer | getHttpServer() |
int | getIntegralPort() |
String | getIntegralScheme() |
int | getLingerTimeSecs() |
int | getPort() |
int | getSslPort() get_sslPort. |
boolean | isConfidential(HttpConnection connection) |
boolean | isIntegral(HttpConnection connection) |
boolean | isLowOnResources() |
boolean | isOutOfResources() |
void | persistConnection(HttpConnection connection) |
void | setBufferReserve(int size) |
void | setBufferSize(int size) |
void | setHost(String host) |
void | setHttpHandler(HttpHandler handler) |
void | setHttpServer(HttpServer server) |
void | setLingerTimeSecs(int ls) |
void | setPort(int port) |
void | setSslPort(int p) set_sslPort. |
void | start() |
void | stop() |
See Also: getHttpHandler
Returns: seconds.
Returns: Port to redirect integral and confidential requests to.
See Also: HttpListener
Parameters: sec seconds to linger or -1 to disable linger.
Parameters: p Port to redirect integral and confidential requests to.