JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.servlet.http

Interface WebConnection

  • All Superinterfaces:
    AutoCloseable


    public interface WebConnection
    extends AutoCloseable 
    This interface encapsulates the connection for an upgrade request. It allows the protocol handler to send service requests and status queries to the container.
    Since:
    Servlet 3.1
    • Method Detail

      • getInputStream

        ServletInputStream getInputStream()
         throws IOException 
        Returns an input stream for this web connection.
        Returns:
        a ServletInputStream for reading binary data
        Throws:
        IOException - if an I/O error occurs
      • getOutputStream

        ServletOutputStream getOutputStream()
         throws IOException 
        Returns an output stream for this web connection.
        Returns:
        a ServletOutputStream for writing binary data
        Throws:
        IOException - if an I/O error occurs
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /