public class OneloginOAuthJSONResourceResponse
extends org.apache.oltu.oauth2.client.response.OAuthClientResponse
| Constructor and Description |
|---|
OneloginOAuthJSONResourceResponse() |
| Modifier and Type | Method and Description |
|---|---|
static void |
enableThrowingOAuthProblemException(boolean value) |
String |
getAfterCursor() |
Object[] |
getArrayFromData() |
String |
getBeforeCursor() |
String |
getBody() |
String |
getContentType() |
org.json.JSONObject |
getData() |
org.json.JSONObject[] |
getDataArray() |
String |
getError() |
String |
getErrorAttribute() |
String |
getErrorDescription() |
Map<String,List<String>> |
getHeaders() |
List<Integer> |
getIdsFromData() |
String |
getMessage() |
String |
getNextLink() |
String |
getPreviousLink() |
int |
getResponseCode() |
String |
getStringFromData() |
String |
getType() |
List<String> |
getValuesFromData() |
protected void |
init(String body,
String contentType,
int responseCode,
Map<String,List<String>> headers) |
protected void |
setBody(String body) |
protected void |
setContentType(String contentType) |
protected void |
setResponseCode(int responseCode) |
protected Map<String,Object> |
transformOLData(Map<String,Object> map) |
protected void init(String body, String contentType, int responseCode, Map<String,List<String>> headers) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
init in class org.apache.oltu.oauth2.client.response.OAuthClientResponseorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionpublic String getBody()
public int getResponseCode()
getResponseCode in class org.apache.oltu.oauth2.client.response.OAuthClientResponsepublic String getContentType()
protected void setBody(String body) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
setBody in class org.apache.oltu.oauth2.client.response.OAuthClientResponseorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected 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 org.json.JSONObject getData()
public org.json.JSONObject[] getDataArray()
public String getStringFromData()
public Object[] getArrayFromData()
public String getBeforeCursor()
public String getAfterCursor()
public String getPreviousLink()
public String getNextLink()
public String getError()
public String getErrorDescription()
public String getErrorAttribute()
public String getType()
public String getMessage()
public static void enableThrowingOAuthProblemException(boolean value)
Copyright © 2018. All rights reserved.