net.smartam.leeloo.as.response
Class OAuthASResponse.OAuthAuthorizationResponseBuilder

java.lang.Object
  extended by net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
      extended by net.smartam.leeloo.as.response.OAuthASResponse.OAuthAuthorizationResponseBuilder
Enclosing class:
OAuthASResponse

public static class OAuthASResponse.OAuthAuthorizationResponseBuilder
extends OAuthResponse.OAuthResponseBuilder


Field Summary
 
Fields inherited from class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
applier, location, parameters, responseCode
 
Constructor Summary
OAuthASResponse.OAuthAuthorizationResponseBuilder(int responseCode)
           
 
Method Summary
 OAuthASResponse.OAuthAuthorizationResponseBuilder location(String location)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setAccessToken(String token)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setCode(String code)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(String expiresIn)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setParam(String key, String value)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setState(String state)
           
 
Methods inherited from class net.smartam.leeloo.common.message.OAuthResponse.OAuthResponseBuilder
buildBodyMessage, buildHeaderMessage, buildJSONMessage, buildQueryMessage, setScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthASResponse.OAuthAuthorizationResponseBuilder

public OAuthASResponse.OAuthAuthorizationResponseBuilder(int responseCode)
Method Detail

setState

public OAuthASResponse.OAuthAuthorizationResponseBuilder setState(String state)

setCode

public OAuthASResponse.OAuthAuthorizationResponseBuilder setCode(String code)

setAccessToken

public OAuthASResponse.OAuthAuthorizationResponseBuilder setAccessToken(String token)

setExpiresIn

public OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(String expiresIn)

location

public OAuthASResponse.OAuthAuthorizationResponseBuilder location(String location)
Overrides:
location in class OAuthResponse.OAuthResponseBuilder

setParam

public OAuthASResponse.OAuthAuthorizationResponseBuilder setParam(String key,
                                                                  String value)
Overrides:
setParam in class OAuthResponse.OAuthResponseBuilder


Copyright © 2010. All Rights Reserved.