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