Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebConnectionImpl

        public WebConnectionImpl​(org.xnio.StreamConnection channel,
                                 io.undertow.connector.ByteBufferPool bufferPool,
                                 java.util.concurrent.Executor ioExecutor)
    • Method Detail

      • getInputStream

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

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

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