Interface RemoteConnectorRequest

    • Method Detail

      • getURL

        java.lang.String getURL()
        Returns:
        the URL this request is for
      • getMethod

        java.lang.String getMethod()
        Returns:
        the HTTP Method this request will execute (eg POST, GET)
      • getContentType

        java.lang.String getContentType()
        Returns:
        The Content Type of the request
      • setContentType

        void setContentType​(java.lang.String contentType)
        Sets the Content Type to send for the request
      • getRequestBody

        java.lang.Object getRequestBody()
        Returns the Request Body, for use by the RemoteConnectorService which created this
      • setRequestBody

        void setRequestBody​(java.lang.String body)
      • setRequestBody

        void setRequestBody​(byte[] body)
      • setRequestBody

        void setRequestBody​(java.io.InputStream body)
      • setRequestBody

        void setRequestBody​(org.apache.commons.httpclient.methods.RequestEntity body)
      • getRequestHeaders

        org.apache.commons.httpclient.Header[] getRequestHeaders()
      • addRequestHeader

        void addRequestHeader​(java.lang.String name,
                              java.lang.String value)
      • addRequestHeader

        void addRequestHeader​(org.apache.commons.httpclient.Header header)
      • addRequestHeaders

        void addRequestHeaders​(org.apache.commons.httpclient.Header[] headers)