| java.lang.Object org.w3c.www.protocol.http.HttpServer org.w3c.www.protocol.http.HttpMuxServer
Method Summary | |
protected synchronized void | acquireConnection() | public synchronized void | deleteConnection(HttpConnection conn) | public short | getMajorVersion() | public short | getMinorVersion() | public String | getProtocol() | public void | initialize(HttpManager manager, HttpServerState state, String host, int port, int timeout) Initialize this server instance for the given target location. | public void | initialize(HttpManager manager, HttpServerState state, String host, int port, int timeout, int conn_timeout) Initialize this server instance for the given target location. | protected void | interruptRequest(Request request) Interrupt given request (that we launched). | protected boolean | isTwoStage(Request requset) Is this request a two stage request. | protected void | notifyObserver(RequestObserver obs, Request request, int code) | protected void | notifyObserver(RequestObserver obs, RequestEvent evt) | protected synchronized void | releaseConnection() | public Reply | runRequest(Request req) Run the given request.
Parameters: request - The request to run. | public synchronized void | setConnTimeout(int conn_timeout) | public synchronized void | setTimeout(int timeout) |
conn_timeout | protected int conn_timeout(Code) | | |
timeout | protected int timeout(Code) | | |
acquireConnection | protected synchronized void acquireConnection() throws IOException(Code) | | |
getMajorVersion | public short getMajorVersion()(Code) | | |
getMinorVersion | public short getMinorVersion()(Code) | | |
initialize | public void initialize(HttpManager manager, HttpServerState state, String host, int port, int timeout)(Code) | | Initialize this server instance for the given target location.
Parameters: manager - The central HTTP protocol manager. Parameters: state - The manager's state for that server. Parameters: host - The target server's FQDN. Parameters: port - The target server's port number. Parameters: timeout - The socket's timeout in millisec |
initialize | public void initialize(HttpManager manager, HttpServerState state, String host, int port, int timeout, int conn_timeout)(Code) | | Initialize this server instance for the given target location.
Parameters: manager - The central HTTP protocol manager. Parameters: state - The manager's state for that server. Parameters: host - The target server's FQDN. Parameters: port - The target server's port number. Parameters: timeout - The socket's timeout in millisec |
interruptRequest | protected void interruptRequest(Request request)(Code) | | Interrupt given request (that we launched).
THIS METHID IS NOT IMPLEMENTED !
Parameters: request - The request to interrupt. |
isTwoStage | protected boolean isTwoStage(Request requset)(Code) | | Is this request a two stage request.
A boolean, true if the request is twostage, false otherwise. |
releaseConnection | protected synchronized void releaseConnection()(Code) | | |
runRequest | public Reply runRequest(Request req) throws HttpException(Code) | | Run the given request.
Parameters: request - The request to run. An instance of Reply, containing all the reply informations. exception: HttpException - If something failed during request processing. |
setConnTimeout | public synchronized void setConnTimeout(int conn_timeout)(Code) | | |
setTimeout | public synchronized void setTimeout(int timeout)(Code) | | |
|
|