Package org.analogweb.netty
Class AnalogwebApplicationProtocolNegotiationHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
-
- org.analogweb.netty.AnalogwebApplicationProtocolNegotiationHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class AnalogwebApplicationProtocolNegotiationHandler extends io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
- Author:
- y2k2mt
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnalogwebApplicationProtocolNegotiationHandler(org.analogweb.Application app, org.analogweb.ApplicationProperties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)
protected org.analogweb.Application
getApplication()
protected org.analogweb.ApplicationProperties
getApplicationProperties()
-
Methods inherited from class io.netty.handler.ssl.ApplicationProtocolNegotiationHandler
channelInactive, channelRead, exceptionCaught, handlerAdded, handlerRemoved, handshakeFailure, userEventTriggered
-
-
-
-
Method Detail
-
configurePipeline
protected void configurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol) throws Exception
- Specified by:
configurePipeline
in classio.netty.handler.ssl.ApplicationProtocolNegotiationHandler
- Throws:
Exception
-
getApplication
protected org.analogweb.Application getApplication()
-
getApplicationProperties
protected org.analogweb.ApplicationProperties getApplicationProperties()
-
-