public class MuxAddHandler extends Object implements MuxAddServer
Constructor and Description |
---|
MuxAddHandler() |
Modifier and Type | Method and Description |
---|---|
UpgradeRequest |
getPhysicalHandshakeRequest() |
UpgradeResponse |
getPhysicalHandshakeResponse() |
void |
handshake(Muxer muxer,
MuxChannel channel,
UpgradeRequest request)
An incoming MuxAddChannel request.
|
public UpgradeRequest getPhysicalHandshakeRequest()
getPhysicalHandshakeRequest
in interface MuxAddServer
public UpgradeResponse getPhysicalHandshakeResponse()
getPhysicalHandshakeResponse
in interface MuxAddServer
public void handshake(Muxer muxer, MuxChannel channel, UpgradeRequest request) throws MuxException, IOException
handshake
in interface MuxAddServer
muxer
- the muxer handling thischannel
- the
channel this request should be bound torequest
- the incoming request headers (complete and merged if delta encoded)MuxException
- if unable to handshakeIOException
- if unable to parse request headersCopyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.