Class WebConnectionImpl

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
io.netty.channel.CombinedChannelDuplexHandler<io.undertow.servlet.core.WebConnectionImpl.InboundHandler,io.undertow.servlet.core.WebConnectionImpl.OutboundHandler>
io.undertow.servlet.core.WebConnectionImpl
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler, jakarta.servlet.http.WebConnection, AutoCloseable

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

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    jakarta.servlet.ServletInputStream
     
    jakarta.servlet.ServletOutputStream
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebConnectionImpl

      public WebConnectionImpl()
  • Method Details

    • 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 jakarta.servlet.ServletInputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface jakarta.servlet.http.WebConnection
      Throws:
      IOException
    • getOutputStream

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

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception