Interface RemoteConnectorRequest

    • Method Detail

      • getURL

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

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

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

        void setContentType​(String contentType)
        Sets the Content Type to send for the request
      • setRequestBody

        void setRequestBody​(String body)
      • setRequestBody

        void setRequestBody​(byte[] body)
      • setRequestBody

        void setRequestBody​(InputStream body)
      • setRequestBody

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

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

        void addRequestHeader​(String name,
                              String value)
      • addRequestHeader

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

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