public class OAuthResourceResponse extends OAuthClientResponse
body, contentType, parameters, responseCode, validator| Constructor and Description |
|---|
OAuthResourceResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
String |
getContentType() |
int |
getResponseCode() |
protected void |
init(String body,
String contentType,
int responseCode) |
protected void |
setBody(String body) |
protected void |
setContentType(String contentType) |
protected void |
setResponseCode(int responseCode) |
getParam, validatepublic String getBody()
public int getResponseCode()
public String getContentType()
protected void setBody(String body) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
setBody in class OAuthClientResponseorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionprotected void setContentType(String contentType)
setContentType in class OAuthClientResponseprotected void setResponseCode(int responseCode)
setResponseCode in class OAuthClientResponseprotected void init(String body, String contentType, int responseCode) throws org.apache.oltu.oauth2.common.exception.OAuthProblemException
init in class OAuthClientResponseorg.apache.oltu.oauth2.common.exception.OAuthProblemExceptionCopyright © 2010–2015 The Apache Software Foundation. All rights reserved.