Class HttpConnectHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<T>
software.xdev.mockserver.netty.proxy.relay.RelayConnectHandler<HttpRequest>
software.xdev.mockserver.netty.proxy.connect.HttpConnectHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields inherited from class software.xdev.mockserver.netty.proxy.relay.RelayConnectHandler
host, port, PROXIED, PROXIED_RESPONSE, PROXIED_SECURE -
Constructor Summary
ConstructorsConstructorDescriptionHttpConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectfailureResponse(Object request) protected voidremoveCodecSupport(io.netty.channel.ChannelHandlerContext ctx) protected ObjectsuccessResponse(Object request) Methods inherited from class software.xdev.mockserver.netty.proxy.relay.RelayConnectHandler
channelRead0, exceptionCaught, removeHandler, removeHandlerMethods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelReadMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Constructor Details
-
HttpConnectHandler
public HttpConnectHandler(ServerConfiguration configuration, LifeCycle server, String host, int port)
-
-
Method Details
-
removeCodecSupport
protected void removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx) - Specified by:
removeCodecSupportin classRelayConnectHandler<HttpRequest>
-
successResponse
- Specified by:
successResponsein classRelayConnectHandler<HttpRequest>
-
failureResponse
- Specified by:
failureResponsein classRelayConnectHandler<HttpRequest>
-