org.mockserver.client.netty
Class HttpClientInitializer

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
              extended by org.mockserver.client.netty.HttpClientInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class HttpClientInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>


Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
HttpClientInitializer(boolean secure)
           
 
Method Summary
 com.google.common.util.concurrent.SettableFuture<HttpResponse> getResponseFuture()
           
 void initChannel(io.netty.channel.socket.SocketChannel channel)
           
 
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
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
 

Constructor Detail

HttpClientInitializer

public HttpClientInitializer(boolean secure)
Method Detail

initChannel

public void initChannel(io.netty.channel.socket.SocketChannel channel)
                 throws SSLException
Specified by:
initChannel in class io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
Throws:
SSLException

getResponseFuture

public com.google.common.util.concurrent.SettableFuture<HttpResponse> getResponseFuture()


Copyright © 2016. All rights reserved.