Package io.undertow.servlet.spec
Class WebConnectionImpl
- java.lang.Object
-
- io.undertow.servlet.spec.WebConnectionImpl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,javax.servlet.http.WebConnection
public class WebConnectionImpl extends java.lang.Object implements javax.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()
javax.servlet.ServletInputStream
getInputStream()
javax.servlet.ServletOutputStream
getOutputStream()
-
-
-
Method Detail
-
getInputStream
public javax.servlet.ServletInputStream getInputStream() throws java.io.IOException
- Specified by:
getInputStream
in interfacejavax.servlet.http.WebConnection
- Throws:
java.io.IOException
-
getOutputStream
public javax.servlet.ServletOutputStream getOutputStream() throws java.io.IOException
- Specified by:
getOutputStream
in interfacejavax.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
-
-