net.smartam.leeloo.client.response
Class OAuthAccessTokenResponse

java.lang.Object
  extended by net.smartam.leeloo.client.response.OAuthClientResponse
      extended by net.smartam.leeloo.client.response.OAuthAccessTokenResponse
Direct Known Subclasses:
GitHubTokenResponse, OAuthJSONAccessTokenResponse

public abstract class OAuthAccessTokenResponse
extends OAuthClientResponse

Author:
Maciej Machulak, Lukasz Moren

Field Summary
 
Fields inherited from class net.smartam.leeloo.client.response.OAuthClientResponse
body, contentType, parameters, responseCode, validator
 
Constructor Summary
OAuthAccessTokenResponse()
           
 
Method Summary
abstract  String getAccessToken()
           
 String getBody()
           
abstract  String getExpiresIn()
           
abstract  String getRefreshToken()
           
abstract  String getScope()
           
protected  void init(String body, String contentType, int responseCode)
           
 
Methods inherited from class net.smartam.leeloo.client.response.OAuthClientResponse
getParam, setBody, setContentType, setResponseCode, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthAccessTokenResponse

public OAuthAccessTokenResponse()
Method Detail

getAccessToken

public abstract String getAccessToken()

getExpiresIn

public abstract String getExpiresIn()

getRefreshToken

public abstract String getRefreshToken()

getScope

public abstract String getScope()

getBody

public String getBody()

init

protected void init(String body,
                    String contentType,
                    int responseCode)
             throws OAuthProblemException
Overrides:
init in class OAuthClientResponse
Throws:
OAuthProblemException


Copyright © 2010. All Rights Reserved.