org.apache.oltu.oauth2.client.response
Class OAuthClientResponse
java.lang.Object
org.apache.oltu.oauth2.client.response.OAuthClientResponse
- Direct Known Subclasses:
- OAuthAccessTokenResponse, OAuthAuthzResponse, OAuthClientRegistrationResponse, OAuthResourceResponse
public abstract class OAuthClientResponse
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
body
protected String body
contentType
protected String contentType
responseCode
protected int responseCode
validator
protected OAuthClientValidator validator
parameters
protected Map<String,Object> parameters
OAuthClientResponse
public OAuthClientResponse()
getParam
public String getParam(String param)
setBody
protected abstract void setBody(String body)
throws OAuthProblemException
- Throws:
OAuthProblemException
setContentType
protected abstract void setContentType(String contentType)
setResponseCode
protected abstract void setResponseCode(int responseCode)
init
protected void init(String body,
String contentType,
int responseCode)
throws OAuthProblemException
- Throws:
OAuthProblemException
validate
protected void validate()
throws OAuthProblemException
- Throws:
OAuthProblemException
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.