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 Details

    • WebConnectionImpl

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

    • getInputStream

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

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

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