Package | Description |
---|---|
org.alfresco.bm.http | |
org.alfresco.http |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
AuthenticatedHttpEventProcessor.executeHttpMethodAsAdmin(org.apache.http.client.methods.HttpRequestBase request,
HttpRequestCallback<T> callback)
Execute the given method, authenticated as the Alfresco Administrator.
|
protected <T> T |
AuthenticatedHttpEventProcessor.executeHttpMethodAsUser(org.apache.http.client.methods.HttpRequestBase request,
String username,
HttpRequestCallback<T> callback)
Execute the given method, authenticated as the given user.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpRequestCallback<T>
Response callback that returns the
HttpResponse on success
and throws runtime exceptions on errors. |
class |
SimpleHttpRequestCallback
Response callback that returns the
HttpResponse on success
and throws runtime exceptions on errors. |
Modifier and Type | Method and Description |
---|---|
static HttpRequestCallback<org.apache.http.HttpResponse> |
SimpleHttpRequestCallback.getInstance()
Get a singleton instance of this class
|
Copyright © 2005–2019 Alfresco Software. All rights reserved.