net.smartam.leeloo.client.response
Class OAuthClientResponse
java.lang.Object
net.smartam.leeloo.client.response.OAuthClientResponse
- Direct Known Subclasses:
- OAuthAccessTokenResponse, OAuthAuthzResponse
public abstract class OAuthClientResponse
- extends Object
- Author:
- Maciej Machulak, Lukasz Moren
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,String> parameters
OAuthClientResponse
public OAuthClientResponse()
getParam
public abstract String getParam(String param)
setBody
protected abstract void setBody(String body)
throws OAuthProblemException
- Throws:
OAuthProblemException
setContentType
protected abstract void setContentType(String contentTypr)
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. All Rights Reserved.