public abstract class OAuthClientResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
body |
protected String |
contentType |
protected Map<String,Object> |
parameters |
protected int |
responseCode |
protected OAuthClientValidator |
validator |
| Constructor and Description |
|---|
OAuthClientResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getParam(String param) |
protected void |
init(String body,
String contentType,
int responseCode) |
protected abstract void |
setBody(String body) |
protected abstract void |
setContentType(String contentType) |
protected abstract void |
setResponseCode(int responseCode) |
protected void |
validate() |
protected String body
protected String contentType
protected int responseCode
protected OAuthClientValidator validator
protected abstract void setBody(String body) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected abstract void setContentType(String contentType)
protected abstract void setResponseCode(int responseCode)
protected void init(String body, String contentType, int responseCode) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected void validate()
throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
org.apache.oltu.oauth2.common.exception.OAuthProblemExceptionCopyright © 2010–2015 The Apache Software Foundation. All rights reserved.