This project has retired. For details please refer to its Attic page.
OAuthASResponse.OAuthAuthorizationResponseBuilder (Apache Oltu: OAuth 2.0 Implementation - Authorization Server 0.31-incubating-SNAPSHOT API)

org.apache.amber.oauth2.as.response
Class OAuthASResponse.OAuthAuthorizationResponseBuilder

java.lang.Object
  extended by org.apache.amber.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
      extended by org.apache.amber.oauth2.as.response.OAuthASResponse.OAuthAuthorizationResponseBuilder
Enclosing class:
OAuthASResponse

public static class OAuthASResponse.OAuthAuthorizationResponseBuilder
extends OAuthResponse.OAuthResponseBuilder


Field Summary
 
Fields inherited from class org.apache.amber.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
applier, location, parameters, responseCode
 
Constructor Summary
OAuthASResponse.OAuthAuthorizationResponseBuilder(javax.servlet.http.HttpServletRequest request, int responseCode)
           
 
Method Summary
 OAuthASResponse.OAuthAuthorizationResponseBuilder location(String location)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setAccessToken(String token)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setCode(String code)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(Long expiresIn)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(String expiresIn)
           
 OAuthASResponse.OAuthAuthorizationResponseBuilder setParam(String key, String value)
           
 
Methods inherited from class org.apache.amber.oauth2.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(javax.servlet.http.HttpServletRequest request,
                                                         int responseCode)
Method Detail

setCode

public OAuthASResponse.OAuthAuthorizationResponseBuilder setCode(String code)

setAccessToken

public OAuthASResponse.OAuthAuthorizationResponseBuilder setAccessToken(String token)

setExpiresIn

public OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(String expiresIn)

setExpiresIn

public OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(Long 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-2013 The Apache Software Foundation. All Rights Reserved.