org.apache.oltu.oauth2.client.response
Class OAuthResourceResponse

java.lang.Object
  extended by org.apache.oltu.oauth2.client.response.OAuthClientResponse
      extended by org.apache.oltu.oauth2.client.response.OAuthResourceResponse

public class OAuthResourceResponse
extends OAuthClientResponse


Field Summary
 
Fields inherited from class org.apache.oltu.oauth2.client.response.OAuthClientResponse
body, contentType, parameters, responseCode, validator
 
Constructor Summary
OAuthResourceResponse()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.oltu.oauth2.client.response.OAuthClientResponse
getParam, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthResourceResponse

public OAuthResourceResponse()
Method Detail

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.