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 protectedAnalogwebApplicationProtocolNegotiationHandler(org.analogweb.Application app, org.analogweb.ApplicationProperties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigurePipeline(io.netty.channel.ChannelHandlerContext ctx, String protocol)protected org.analogweb.ApplicationgetApplication()protected org.analogweb.ApplicationPropertiesgetApplicationProperties()-
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:
configurePipelinein classio.netty.handler.ssl.ApplicationProtocolNegotiationHandler- Throws:
Exception
-
getApplication
protected org.analogweb.Application getApplication()
-
getApplicationProperties
protected org.analogweb.ApplicationProperties getApplicationProperties()
-
-