Class WebConnectionImpl

java.lang.Object
io.undertow.servlet.spec.WebConnectionImpl
All Implemented Interfaces:
AutoCloseable, javax.servlet.http.WebConnection

public class WebConnectionImpl extends Object implements javax.servlet.http.WebConnection
Author:
Stuart Douglas
  • Constructor Details

    • WebConnectionImpl

      public WebConnectionImpl(org.xnio.StreamConnection channel, io.undertow.connector.ByteBufferPool bufferPool, Executor ioExecutor)
  • Method Details

    • getInputStream

      public javax.servlet.ServletInputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface javax.servlet.http.WebConnection
      Throws:
      IOException
    • getOutputStream

      public javax.servlet.ServletOutputStream getOutputStream() throws IOException
      Specified by:
      getOutputStream in interface javax.servlet.http.WebConnection
      Throws:
      IOException
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception