org.apache.oltu.oauth2.client.response
Class OAuthResourceResponse
java.lang.Object
org.apache.oltu.oauth2.client.response.OAuthClientResponse
org.apache.oltu.oauth2.client.response.OAuthResourceResponse
public class OAuthResourceResponse
- extends OAuthClientResponse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthResourceResponse
public OAuthResourceResponse()
getBody
public String getBody()
getResponseCode
public int getResponseCode()
getContentType
public String getContentType()
setBody
protected void setBody(String body)
throws OAuthProblemException
- Specified by:
setBody
in class OAuthClientResponse
- Throws:
OAuthProblemException
setContentType
protected void setContentType(String contentType)
- Specified by:
setContentType
in class OAuthClientResponse
setResponseCode
protected void setResponseCode(int responseCode)
- Specified by:
setResponseCode
in class OAuthClientResponse
init
protected void init(String body,
String contentType,
int responseCode)
throws OAuthProblemException
- Overrides:
init
in class OAuthClientResponse
- Throws:
OAuthProblemException
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.