Class DefaultWebConnection

java.lang.Object
cloud.piranha.core.impl.DefaultWebConnection
All Implemented Interfaces:
jakarta.servlet.http.WebConnection, AutoCloseable

public class DefaultWebConnection extends Object implements jakarta.servlet.http.WebConnection
The default WebConnection.
Author:
Manfred Riem ([email protected])
  • Constructor Details

  • 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