public class HttpServerToConnectionBridge<C> extends AbstractHttpConnectionBridge<C>
AbstractHttpConnectionBridge.ConnectionInputSubscriber, AbstractHttpConnectionBridge.StateCONNECTION_UPGRADED, connectionInputSubscriber| Constructor and Description |
|---|
HttpServerToConnectionBridge(HttpServerEventPublisher eventPublisher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
beforeOutboundHeaderWrite(io.netty.handler.codec.http.HttpMessage httpMsg,
io.netty.channel.ChannelPromise promise,
long startTimeNanos) |
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
protected boolean |
isInboundHeader(java.lang.Object nextItem) |
protected boolean |
isOutboundHeader(java.lang.Object nextItem) |
protected java.lang.Object |
newHttpObject(java.lang.Object nextItem,
io.netty.channel.Channel channel) |
protected void |
onContentReceiveComplete(long receiveStartTimeNanos) |
protected void |
onContentReceived() |
protected void |
onOutboundLastContentWrite(io.netty.handler.codec.http.LastHttpContent msg,
io.netty.channel.ChannelPromise promise,
long headerWriteStartTimeNanos) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object evt) |
getHeaderWriteStartTimeNanos, newConnectionInputSubscriber, onChannelClose, onClosedBeforeReceiveComplete, onNewContentSubscriber, resetSubscriptionState, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelRead, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughthandlerAdded, handlerRemoved, isSharablepublic HttpServerToConnectionBridge(HttpServerEventPublisher eventPublisher)
protected void beforeOutboundHeaderWrite(io.netty.handler.codec.http.HttpMessage httpMsg,
io.netty.channel.ChannelPromise promise,
long startTimeNanos)
beforeOutboundHeaderWrite in class AbstractHttpConnectionBridge<C>protected void onOutboundLastContentWrite(io.netty.handler.codec.http.LastHttpContent msg,
io.netty.channel.ChannelPromise promise,
long headerWriteStartTimeNanos)
onOutboundLastContentWrite in class AbstractHttpConnectionBridge<C>public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Object evt)
throws java.lang.Exception
userEventTriggered in interface io.netty.channel.ChannelInboundHandleruserEventTriggered in class AbstractHttpConnectionBridge<C>java.lang.Exceptionprotected boolean isInboundHeader(java.lang.Object nextItem)
isInboundHeader in class AbstractHttpConnectionBridge<C>protected boolean isOutboundHeader(java.lang.Object nextItem)
isOutboundHeader in class AbstractHttpConnectionBridge<C>protected java.lang.Object newHttpObject(java.lang.Object nextItem,
io.netty.channel.Channel channel)
newHttpObject in class AbstractHttpConnectionBridge<C>protected void onContentReceived()
onContentReceived in class AbstractHttpConnectionBridge<C>protected void onContentReceiveComplete(long receiveStartTimeNanos)
onContentReceiveComplete in class AbstractHttpConnectionBridge<C>public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx)
throws java.lang.Exception
channelReadComplete in interface io.netty.channel.ChannelInboundHandlerchannelReadComplete in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exception