Package io.undertow.servlet.core
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()jakarta.servlet.ServletInputStreamjakarta.servlet.ServletOutputStreamvoidhandlerAdded(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, writeMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
Constructor Details
-
WebConnectionImpl
public WebConnectionImpl()
-
-
Method Details
-
handlerAdded
- Specified by:
handlerAddedin interfaceio.netty.channel.ChannelHandler- Overrides:
handlerAddedin classio.netty.channel.CombinedChannelDuplexHandler<io.undertow.servlet.core.WebConnectionImpl.InboundHandler,io.undertow.servlet.core.WebConnectionImpl.OutboundHandler> - Throws:
Exception
-
getInputStream
- Specified by:
getInputStreamin interfacejakarta.servlet.http.WebConnection- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStreamin interfacejakarta.servlet.http.WebConnection- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-