org.mockserver.proxy.connect
Class HttpConnectHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<T>
org.mockserver.proxy.relay.RelayConnectHandler<HttpRequest>
org.mockserver.proxy.connect.HttpConnectHandler
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
@ChannelHandler.Sharable
public final class HttpConnectHandler
- extends RelayConnectHandler<HttpRequest>
| Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
io.netty.channel.ChannelHandler.Sharable |
| Methods inherited from class io.netty.channel.SimpleChannelInboundHandler |
acceptInboundMessage, channelRead |
| Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered |
| Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
ensureNotSharable, handlerAdded, handlerRemoved, isSharable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface io.netty.channel.ChannelHandler |
handlerAdded, handlerRemoved |
HttpConnectHandler
public HttpConnectHandler(String host,
int port)
removeCodecSupport
protected void removeCodecSupport(io.netty.channel.ChannelHandlerContext ctx)
- Specified by:
removeCodecSupport in class RelayConnectHandler<HttpRequest>
successResponse
protected Object successResponse(Object request)
- Specified by:
successResponse in class RelayConnectHandler<HttpRequest>
failureResponse
protected Object failureResponse(Object request)
- Specified by:
failureResponse in class RelayConnectHandler<HttpRequest>
Copyright © 2017. All rights reserved.