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 void
close()
jakarta.servlet.ServletInputStream
getInputStream()
jakarta.servlet.ServletOutputStream
getOutputStream()
-
-
-
Method Detail
-
getInputStream
public jakarta.servlet.ServletInputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStream
in interfacejakarta.servlet.http.WebConnection
- Throws:
java.io.IOException
-
getOutputStream
public jakarta.servlet.ServletOutputStream getOutputStream() throws java.io.IOException
- Specified by:
getOutputStream
in interfacejakarta.servlet.http.WebConnection
- Throws:
java.io.IOException
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-