com.caucho.server.hmux
Class HmuxDispatchRequest

java.lang.Object
  extended by com.caucho.server.hmux.HmuxDispatchRequest

public class HmuxDispatchRequest
extends java.lang.Object

Handles the filter mapping (config) requests from a remote dispatcher.


Field Summary
static int HMUX_CLUSTER
           
static int HMUX_ETAG
           
static int HMUX_HOST
           
static int HMUX_IGNORE
           
static int HMUX_MATCH
           
static int HMUX_NO_CHANGE
           
static int HMUX_QUERY_ALL
           
static int HMUX_QUERY_SERVER
           
static int HMUX_QUERY_URL
           
static int HMUX_SRUN
           
static int HMUX_SRUN_BACKUP
           
static int HMUX_SRUN_SSL
           
static int HMUX_UNAVAILABLE
           
static int HMUX_WEB_APP
           
static int HMUX_WEB_APP_UNAVAILABLE
           
 
Constructor Summary
HmuxDispatchRequest(HmuxRequest request)
           
 
Method Summary
 boolean handleRequest(ReadStream is, WriteStream os)
          Handles a new request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HMUX_HOST

public static final int HMUX_HOST
See Also:
Constant Field Values

HMUX_QUERY_ALL

public static final int HMUX_QUERY_ALL
See Also:
Constant Field Values

HMUX_QUERY_URL

public static final int HMUX_QUERY_URL
See Also:
Constant Field Values

HMUX_QUERY_SERVER

public static final int HMUX_QUERY_SERVER
See Also:
Constant Field Values

HMUX_WEB_APP

public static final int HMUX_WEB_APP
See Also:
Constant Field Values

HMUX_MATCH

public static final int HMUX_MATCH
See Also:
Constant Field Values

HMUX_IGNORE

public static final int HMUX_IGNORE
See Also:
Constant Field Values

HMUX_ETAG

public static final int HMUX_ETAG
See Also:
Constant Field Values

HMUX_NO_CHANGE

public static final int HMUX_NO_CHANGE
See Also:
Constant Field Values

HMUX_CLUSTER

public static final int HMUX_CLUSTER
See Also:
Constant Field Values

HMUX_SRUN

public static final int HMUX_SRUN
See Also:
Constant Field Values

HMUX_SRUN_BACKUP

public static final int HMUX_SRUN_BACKUP
See Also:
Constant Field Values

HMUX_SRUN_SSL

public static final int HMUX_SRUN_SSL
See Also:
Constant Field Values

HMUX_UNAVAILABLE

public static final int HMUX_UNAVAILABLE
See Also:
Constant Field Values

HMUX_WEB_APP_UNAVAILABLE

public static final int HMUX_WEB_APP_UNAVAILABLE
See Also:
Constant Field Values
Constructor Detail

HmuxDispatchRequest

public HmuxDispatchRequest(HmuxRequest request)
Method Detail

handleRequest

public boolean handleRequest(ReadStream is,
                             WriteStream os)
                      throws java.io.IOException
Handles a new request. Initializes the protocol handler and the request streams.

Note: ClientDisconnectException must be rethrown to the caller.

Throws:
java.io.IOException