public interface RemoteConnectorRequest
RemoteConnectorService
.
To have one of these created for you, use
RemoteConnectorService.buildRequest(String, String)
Modifier and Type | Method and Description |
---|---|
void |
addRequestHeader(org.apache.commons.httpclient.Header header) |
void |
addRequestHeader(String name,
String value) |
void |
addRequestHeaders(org.apache.commons.httpclient.Header[] headers) |
String |
getContentType() |
String |
getMethod() |
Object |
getRequestBody()
Returns the Request Body, for use by the
RemoteConnectorService
which created this |
org.apache.commons.httpclient.Header[] |
getRequestHeaders() |
String |
getURL() |
void |
setContentType(String contentType)
Sets the Content Type to send for the request
|
void |
setRequestBody(byte[] body) |
void |
setRequestBody(InputStream body) |
void |
setRequestBody(org.apache.commons.httpclient.methods.RequestEntity body) |
void |
setRequestBody(String body) |
String getURL()
String getMethod()
String getContentType()
void setContentType(String contentType)
Object getRequestBody()
RemoteConnectorService
which created thisvoid setRequestBody(String body)
void setRequestBody(byte[] body)
void setRequestBody(InputStream body)
void setRequestBody(org.apache.commons.httpclient.methods.RequestEntity body)
org.apache.commons.httpclient.Header[] getRequestHeaders()
void addRequestHeader(org.apache.commons.httpclient.Header header)
void addRequestHeaders(org.apache.commons.httpclient.Header[] headers)
Copyright © 2005–2017 Alfresco Software. All rights reserved.