Class HttpSnoopClientPipelineFactory
- java.lang.Object
-
- org.jboss.netty.example.http.snoop.HttpSnoopClientPipelineFactory
-
- All Implemented Interfaces:
ChannelPipelineFactory
public class HttpSnoopClientPipelineFactory extends java.lang.Object implements ChannelPipelineFactory
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
host
private int
port
private SslContext
sslCtx
-
Constructor Summary
Constructors Constructor Description HttpSnoopClientPipelineFactory(SslContext sslCtx, java.lang.String host, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelPipeline
getPipeline()
Returns a newly createdChannelPipeline
.
-
-
-
Field Detail
-
sslCtx
private final SslContext sslCtx
-
host
private final java.lang.String host
-
port
private final int port
-
-
Constructor Detail
-
HttpSnoopClientPipelineFactory
public HttpSnoopClientPipelineFactory(SslContext sslCtx, java.lang.String host, int port)
-
-
Method Detail
-
getPipeline
public ChannelPipeline getPipeline()
Description copied from interface:ChannelPipelineFactory
Returns a newly createdChannelPipeline
.- Specified by:
getPipeline
in interfaceChannelPipelineFactory
-
-