All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class w3c.www.protocol.http.HttpMuxServer
java.lang.Object
   |
   +----w3c.www.protocol.http.HttpServer
           |
           +----w3c.www.protocol.http.HttpMuxServer
  -  public class HttpMuxServer
  -  extends HttpServer
   
  -   conn conn
-  
  
-   host host
-  
  
-   manager manager
-  
  
-   port port
-  
  
-   timeout timeout
-  
   
  -   HttpMuxServer() HttpMuxServer()
-  
   
  -   acquireConnection() acquireConnection()
-  
  
-   deleteConnection(HttpConnection) deleteConnection(HttpConnection)
-  
  
-   getMajorVersion() getMajorVersion()
-   Get this server's major version number.
  
-   getMinorVersion() getMinorVersion()
-   Get this server's minor version number.
  
-   getProtocol() getProtocol()
-   Get this servers' protocol.
  
-   initialize(HttpManager, HttpServerState, String, int, int) initialize(HttpManager, HttpServerState, String, int, int)
-   Initialize this server instance for the given target location.
  
-   interruptRequest(Request) interruptRequest(Request)
-   Interrupt given request (that we launched).
  
-   isTwoStage(Request) isTwoStage(Request)
-   Is this request a two stage request.
  
-   notifyObserver(RequestObserver, Request, int) notifyObserver(RequestObserver, Request, int)
-  
  
-   notifyObserver(RequestObserver, RequestEvent) notifyObserver(RequestObserver, RequestEvent)
-  
  
-   releaseConnection() releaseConnection()
-  
  
-   runRequest(Request) runRequest(Request)
-   HTTP manager interface - Handle this request in sync mode.
  
-   setTimeout(int) setTimeout(int)
-   Set the new timeout for this server
 
   
 conn
conn
 protected HttpMuxConnection conn
 manager
manager
 protected HttpManager manager
 host
host
 protected String host
 port
port
 protected int port
 timeout
timeout
 protected int timeout
   
 HttpMuxServer
HttpMuxServer
 public HttpMuxServer()
   
 acquireConnection
acquireConnection
 protected synchronized void acquireConnection() throws IOException
 releaseConnection
releaseConnection
 protected synchronized void releaseConnection()
 getProtocol
getProtocol
 public String getProtocol()
  -  Get this servers' protocol.
   
- 
    -  Overrides:
    
-  getProtocol in class HttpServer
  
 
 getMajorVersion
getMajorVersion
 public short getMajorVersion()
  -  Get this server's major version number.
   
- 
    -  Overrides:
    
-  getMajorVersion in class HttpServer
  
 
 getMinorVersion
getMinorVersion
 public short getMinorVersion()
  -  Get this server's minor version number.
   
- 
    -  Overrides:
    
-  getMinorVersion in class HttpServer
  
 
 setTimeout
setTimeout
 public synchronized void setTimeout(int timeout)
  -  Set the new timeout for this server
   
- 
    -  Overrides:
    
-  setTimeout in class HttpServer
  
 
 isTwoStage
isTwoStage
 protected boolean isTwoStage(Request requset)
  -  Is this request a two stage request.
   
- 
    -  Returns:
    
-  A boolean, true if the request is two
 stage, false otherwise.
  
 
 notifyObserver
notifyObserver
 protected void notifyObserver(RequestObserver obs,
                               Request request,
                               int code)
 notifyObserver
notifyObserver
 protected void notifyObserver(RequestObserver obs,
                               RequestEvent evt)
 runRequest
runRequest
 public Reply runRequest(Request req) throws HttpException
  -  HTTP manager interface - Handle this request in sync mode.
   
- 
    -  Overrides:
    
-  runRequest in class HttpServer
  
 
 interruptRequest
interruptRequest
 protected void interruptRequest(Request request)
  -  Interrupt given request (that we launched).
 THIS METHID IS NOT IMPLEMENTED !
   
- 
    -  Parameters:
    
-  request - The request to interrupt.
    
-  Overrides:
    
-  interruptRequest in class HttpServer
  
 
 deleteConnection
deleteConnection
 public synchronized void deleteConnection(HttpConnection conn)
 initialize
initialize
 public void initialize(HttpManager manager,
                        HttpServerState state,
                        String host,
                        int port,
                        int timeout)
  -  Initialize this server instance for the given target location.
   
- 
    -  Parameters:
    
-  manager - The central HTTP protocol manager.
    -  state - The manager's state for that server.
    -  host - The target server's FQDN.
    -  port - The target server's port number.
    -  timeout - The socket's timeout in millisec
    
-  Throws: HttpException
    
-  If host coulnd't be resolved.
    
-  Overrides:
    
-  initialize in class HttpServer
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index