public class HttpTransportOverMux extends Object implements HttpTransport
HttpGenerator.ResponseInfo
objects and convert to bytes for response.Constructor and Description |
---|
HttpTransportOverMux(Muxer muxer,
MuxChannel channel) |
Modifier and Type | Method and Description |
---|---|
void |
completed() |
void |
send(HttpGenerator.ResponseInfo info,
ByteBuffer responseBodyContent,
boolean lastContent)
Process ResponseInfo object into AddChannelResponse
|
<C> void |
send(HttpGenerator.ResponseInfo info,
ByteBuffer responseBodyContent,
boolean lastContent,
C context,
Callback<C> callback) |
public HttpTransportOverMux(Muxer muxer, MuxChannel channel)
public void completed()
completed
in interface HttpTransport
public void send(HttpGenerator.ResponseInfo info, ByteBuffer responseBodyContent, boolean lastContent) throws IOException
send
in interface HttpTransport
IOException
public <C> void send(HttpGenerator.ResponseInfo info, ByteBuffer responseBodyContent, boolean lastContent, C context, Callback<C> callback)
send
in interface HttpTransport
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.