com.ning.http.client.providers.netty
Class SslInitializer
java.lang.Object
org.jboss.netty.channel.SimpleChannelDownstreamHandler
com.ning.http.client.providers.netty.SslInitializer
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler
public class SslInitializer
- extends org.jboss.netty.channel.SimpleChannelDownstreamHandler
On connect, replaces itself with a SslHandler that has a SSLEngine configured with the remote host and port.
- Author:
- slandelle
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
|
Method Summary |
void |
connectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
|
| Methods inherited from class org.jboss.netty.channel.SimpleChannelDownstreamHandler |
bindRequested, closeRequested, disconnectRequested, handleDownstream, setInterestOpsRequested, unbindRequested, writeRequested |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SslInitializer
public SslInitializer(NettyAsyncHttpProvider provider)
connectRequested
public void connectRequested(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws Exception
- Overrides:
connectRequested in class org.jboss.netty.channel.SimpleChannelDownstreamHandler
- Throws:
Exception
Copyright © 2014. All Rights Reserved.