protected class MoxtraClient.RESTResponse
extends org.apache.oltu.oauth2.client.response.OAuthClientResponse
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.http.Header[] |
headers |
protected org.exoplatform.ws.frameworks.json.value.JsonValue |
jsonValue |
protected InputStream |
streamValue |
protected String |
stringValue |
| Modifier | Constructor and Description |
|---|---|
protected |
MoxtraClient.RESTResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream() |
String |
getParam(String param) |
int |
getResponseCode() |
String |
getText() |
org.exoplatform.ws.frameworks.json.value.JsonValue |
getValue() |
protected void |
init(String body,
String contentType,
int responseCode) |
protected void |
setBody(InputStream value) |
protected void |
setBody(org.exoplatform.ws.frameworks.json.value.JsonValue value) |
protected void |
setBody(String value) |
protected void |
setContentType(String contentType) |
protected void |
setHeaders(org.apache.http.Header[] headers) |
protected void |
setResponseCode(int responseCode) |
protected org.exoplatform.ws.frameworks.json.value.JsonValue jsonValue
protected String stringValue
protected InputStream streamValue
protected org.apache.http.Header[] headers
protected void setContentType(String contentType)
setContentType in class org.apache.oltu.oauth2.client.response.OAuthClientResponseprotected void setResponseCode(int responseCode)
setResponseCode in class org.apache.oltu.oauth2.client.response.OAuthClientResponsepublic int getResponseCode()
public String getContentType()
public org.exoplatform.ws.frameworks.json.value.JsonValue getValue()
public String getText()
public InputStream getInputStream()
protected void init(String body, String contentType, int responseCode) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
init in class org.apache.oltu.oauth2.client.response.OAuthClientResponseorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected void setBody(org.exoplatform.ws.frameworks.json.value.JsonValue value)
protected void setBody(String value)
setBody in class org.apache.oltu.oauth2.client.response.OAuthClientResponseprotected void setBody(InputStream value)
protected void setHeaders(org.apache.http.Header[] headers)
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.