Package | Description |
---|---|
org.alfresco.repo.remoteconnector | |
org.alfresco.service.cmr.remoteconnector |
Modifier and Type | Class and Description |
---|---|
class |
RemoteConnectorRequestImpl
Helper wrapper around a Remote Request, to be performed by the
RemoteConnectorService . |
Modifier and Type | Method and Description |
---|---|
RemoteConnectorRequest |
RemoteConnectorServiceImpl.buildRequest(String url,
Class<? extends org.apache.commons.httpclient.HttpMethodBase> method)
Builds a new Request object, using HttpClient method descriptions
|
RemoteConnectorRequest |
RemoteConnectorServiceImpl.buildRequest(String url,
String method)
Builds a new Request object
|
RemoteConnectorRequest |
RemoteConnectorResponseImpl.getRequest() |
Modifier and Type | Method and Description |
---|---|
static org.json.simple.JSONObject |
RemoteConnectorServiceImpl.doExecuteJSONRequest(RemoteConnectorRequest request,
RemoteConnectorService service) |
org.json.simple.JSONObject |
RemoteConnectorServiceImpl.executeJSONRequest(RemoteConnectorRequest request)
Executes the given request, requesting a JSON response, and
returns the parsed JSON received back
|
RemoteConnectorResponse |
RemoteConnectorServiceImpl.executeRequest(RemoteConnectorRequest request)
Executes the specified request, and return the response
|
Constructor and Description |
---|
RemoteConnectorResponseImpl(RemoteConnectorRequest request,
String contentType,
String charset,
int status,
org.apache.commons.httpclient.Header[] headers,
byte[] response) |
RemoteConnectorResponseImpl(RemoteConnectorRequest request,
String contentType,
String charset,
int status,
org.apache.commons.httpclient.Header[] headers,
InputStream response)
Creates a new Response object with the data coming from a stream.
|
Modifier and Type | Method and Description |
---|---|
RemoteConnectorRequest |
RemoteConnectorService.buildRequest(String url,
String method)
Builds a new Request object, to talk to the given URL
with the supplied method
|
RemoteConnectorRequest |
RemoteConnectorResponse.getRequest() |
Modifier and Type | Method and Description |
---|---|
org.json.simple.JSONObject |
RemoteConnectorService.executeJSONRequest(RemoteConnectorRequest request)
Executes the given request, requesting a JSON response, and
returns the parsed JSON received back
|
RemoteConnectorResponse |
RemoteConnectorService.executeRequest(RemoteConnectorRequest request)
Executes the specified request, and return the response.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.