protected class MoxtraClient.RESTClient extends Object implements org.apache.oltu.oauth2.client.HttpClient
| Modifier | Constructor and Description |
|---|---|
protected |
MoxtraClient.RESTClient() |
| Modifier and Type | Method and Description |
|---|---|
<T extends org.apache.oltu.oauth2.client.response.OAuthClientResponse> |
execute(org.apache.oltu.oauth2.client.request.OAuthClientRequest request,
Map<String,String> headers,
String requestMethod,
Class<T> responseClass) |
protected org.exoplatform.ws.frameworks.json.value.JsonValue |
readJson(org.apache.http.HttpResponse resp) |
protected String |
readOAuthProblem(org.exoplatform.ws.frameworks.json.value.JsonValue json) |
void |
shutdown() |
public void shutdown()
shutdown in interface org.apache.oltu.oauth2.client.HttpClientpublic <T extends org.apache.oltu.oauth2.client.response.OAuthClientResponse> T execute(org.apache.oltu.oauth2.client.request.OAuthClientRequest request,
Map<String,String> headers,
String requestMethod,
Class<T> responseClass)
throws org.apache.oltu.oauth2.common.exception.OAuthSystemException,
org.apache.oltu.oauth2.common.exception.OAuthProblemException
execute in interface org.apache.oltu.oauth2.client.HttpClientorg.apache.oltu.oauth2.common.exception.OAuthSystemExceptionorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected org.exoplatform.ws.frameworks.json.value.JsonValue readJson(org.apache.http.HttpResponse resp)
throws org.exoplatform.ws.frameworks.json.impl.JsonException,
IllegalStateException,
IOException
org.exoplatform.ws.frameworks.json.impl.JsonExceptionIllegalStateExceptionIOExceptionprotected String readOAuthProblem(org.exoplatform.ws.frameworks.json.value.JsonValue json)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.