Package org.httprpc

Interface WebServiceProxy.RequestHandler

  • Enclosing class:
    WebServiceProxy

    public static interface WebServiceProxy.RequestHandler
    Interface representing a request handler.
    • Method Detail

      • getContentType

        java.lang.String getContentType()
        Returns the content type produced by the handler.
        Returns:
        The content type produced by the handler.
      • encodeRequest

        void encodeRequest​(java.io.OutputStream outputStream)
                    throws java.io.IOException
        Encodes a request to an output stream.
        Parameters:
        outputStream - The output stream to write to.
        Throws:
        java.io.IOException - If an exception occurs.