@ChannelHandler.Sharable public final class HttpConnectHandler extends RelayConnectHandler<HttpRequest>
HTTP_CONNECT_SOCKET
Constructor and Description |
---|
HttpConnectHandler(LifeCycle server,
MockServerLogger mockServerLogger,
String host,
int port) |
Modifier and Type | Method and Description |
---|---|
protected Object |
failureResponse(Object request) |
protected void |
removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx) |
protected Object |
successResponse(Object request) |
channelRead0, exceptionCaught, removeHandler, removeHandler
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public HttpConnectHandler(LifeCycle server, MockServerLogger mockServerLogger, String host, int port)
protected void removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx)
removeCodecSupport
in class RelayConnectHandler<HttpRequest>
protected Object successResponse(Object request)
successResponse
in class RelayConnectHandler<HttpRequest>
protected Object failureResponse(Object request)
failureResponse
in class RelayConnectHandler<HttpRequest>
Copyright © 2018. All rights reserved.