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
the
- channel this request should be bound torequest
- the incoming request headers (complete and merged if delta encoded)IOException
- if unable to parse request headersMuxException
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.