Interface WebConnection

All Superinterfaces:
java.lang.AutoCloseable

public interface WebConnection
extends java.lang.AutoCloseable
The WebConnection API.
  • Method Details

    • getInputStream

      ServletInputStream getInputStream() throws java.io.IOException
      Get the input stream.
      Returns:
      the input stream.
      Throws:
      java.io.IOException - when an I/O error occurs.
    • getOutputStream

      ServletOutputStream getOutputStream() throws java.io.IOException
      Get the output stream.
      Returns:
      the output stream.
      Throws:
      java.io.IOException - when an I/O error occurs.