Package io.undertow.servlet.spec
Class WebConnectionImpl
- java.lang.Object
-
- io.undertow.servlet.spec.WebConnectionImpl
-
- All Implemented Interfaces:
jakarta.servlet.http.WebConnection,AutoCloseable
public class WebConnectionImpl extends Object implements jakarta.servlet.http.WebConnection
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description WebConnectionImpl(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, Executor ioExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()jakarta.servlet.ServletInputStreamgetInputStream()jakarta.servlet.ServletOutputStreamgetOutputStream()
-
-
-
Constructor Detail
-
WebConnectionImpl
public WebConnectionImpl(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, Executor ioExecutor)
-
-
Method Detail
-
getInputStream
public jakarta.servlet.ServletInputStream getInputStream() throws IOException- Specified by:
getInputStreamin interfacejakarta.servlet.http.WebConnection- Throws:
IOException
-
getOutputStream
public jakarta.servlet.ServletOutputStream getOutputStream() throws IOException- Specified by:
getOutputStreamin interfacejakarta.servlet.http.WebConnection- Throws:
IOException
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-