Class WebConnectionImpl

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler, AutoCloseable, javax.servlet.http.WebConnection

    public class WebConnectionImpl
    extends io.netty.channel.CombinedChannelDuplexHandler<io.undertow.servlet.core.WebConnectionImpl.InboundHandler,​io.undertow.servlet.core.WebConnectionImpl.OutboundHandler>
    implements javax.servlet.http.WebConnection
    Author:
    Stuart Douglas
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      javax.servlet.ServletInputStream getInputStream()  
      javax.servlet.ServletOutputStream getOutputStream()  
      void handlerAdded​(io.netty.channel.ChannelHandlerContext ctx)  
      • Methods inherited from class io.netty.channel.CombinedChannelDuplexHandler

        bind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerRemoved, inboundHandler, init, outboundHandler, read, removeInboundHandler, removeOutboundHandler, userEventTriggered, write
      • Methods inherited from class io.netty.channel.ChannelHandlerAdapter

        ensureNotSharable, isSharable
    • Constructor Detail

      • WebConnectionImpl

        public WebConnectionImpl()
    • Method Detail

      • handlerAdded

        public void handlerAdded​(io.netty.channel.ChannelHandlerContext ctx)
                          throws Exception
        Specified by:
        handlerAdded in interface io.netty.channel.ChannelHandler
        Overrides:
        handlerAdded in class io.netty.channel.CombinedChannelDuplexHandler<io.undertow.servlet.core.WebConnectionImpl.InboundHandler,​io.undertow.servlet.core.WebConnectionImpl.OutboundHandler>
        Throws:
        Exception
      • getInputStream

        public javax.servlet.ServletInputStream getInputStream()
                                                        throws IOException
        Specified by:
        getInputStream in interface javax.servlet.http.WebConnection
        Throws:
        IOException
      • getOutputStream

        public javax.servlet.ServletOutputStream getOutputStream()
                                                          throws IOException
        Specified by:
        getOutputStream in interface javax.servlet.http.WebConnection
        Throws:
        IOException