Uncomment the following line if you want HTTPS: add missing imports
This commit is contained in:
parent
2056882cfc
commit
ae909f5d12
@ -24,6 +24,11 @@ import org.jboss.netty.handler.codec.http.HttpRequestDecoder;
|
|||||||
import org.jboss.netty.handler.codec.http.HttpResponseEncoder;
|
import org.jboss.netty.handler.codec.http.HttpResponseEncoder;
|
||||||
import org.jboss.netty.handler.stream.ChunkedWriteHandler;
|
import org.jboss.netty.handler.stream.ChunkedWriteHandler;
|
||||||
|
|
||||||
|
// Uncomment the following line if you want HTTPS
|
||||||
|
//import javax.net.ssl.SSLEngine;
|
||||||
|
//import org.jboss.netty.example.securechat.SecureChatSslContextFactory;
|
||||||
|
//import org.jboss.netty.handler.ssl.SslHandler;
|
||||||
|
|
||||||
public class HttpStaticFileServerPipelineFactory implements ChannelPipelineFactory {
|
public class HttpStaticFileServerPipelineFactory implements ChannelPipelineFactory {
|
||||||
public ChannelPipeline getPipeline() throws Exception {
|
public ChannelPipeline getPipeline() throws Exception {
|
||||||
// Create a default pipeline implementation.
|
// Create a default pipeline implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user