Class OAuthASResponse.OAuthAuthorizationResponseBuilder
- java.lang.Object
-
- org.apache.oltu.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
-
- org.apache.oltu.oauth2.as.response.OAuthASResponse.OAuthAuthorizationResponseBuilder
-
- Enclosing class:
- OAuthASResponse
public static class OAuthASResponse.OAuthAuthorizationResponseBuilder extends OAuthResponse.OAuthResponseBuilder
-
-
Constructor Summary
Constructors Constructor Description OAuthAuthorizationResponseBuilder(HttpServletRequest request, int responseCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthASResponse.OAuthAuthorizationResponseBuilder
location(java.lang.String location)
OAuthASResponse.OAuthAuthorizationResponseBuilder
setAccessToken(java.lang.String token)
OAuthASResponse.OAuthAuthorizationResponseBuilder
setCode(java.lang.String code)
OAuthASResponse.OAuthAuthorizationResponseBuilder
setExpiresIn(java.lang.Long expiresIn)
OAuthASResponse.OAuthAuthorizationResponseBuilder
setExpiresIn(java.lang.String expiresIn)
OAuthASResponse.OAuthAuthorizationResponseBuilder
setParam(java.lang.String key, java.lang.String value)
-
Methods inherited from class org.apache.oltu.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
buildBodyMessage, buildHeaderMessage, buildJSONMessage, buildQueryMessage, setScope
-
-
-
-
Constructor Detail
-
OAuthAuthorizationResponseBuilder
public OAuthAuthorizationResponseBuilder(HttpServletRequest request, int responseCode)
-
-
Method Detail
-
setCode
public OAuthASResponse.OAuthAuthorizationResponseBuilder setCode(java.lang.String code)
-
setAccessToken
public OAuthASResponse.OAuthAuthorizationResponseBuilder setAccessToken(java.lang.String token)
-
setExpiresIn
public OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(java.lang.String expiresIn)
-
setExpiresIn
public OAuthASResponse.OAuthAuthorizationResponseBuilder setExpiresIn(java.lang.Long expiresIn)
-
location
public OAuthASResponse.OAuthAuthorizationResponseBuilder location(java.lang.String location)
- Overrides:
location
in classOAuthResponse.OAuthResponseBuilder
-
setParam
public OAuthASResponse.OAuthAuthorizationResponseBuilder setParam(java.lang.String key, java.lang.String value)
- Overrides:
setParam
in classOAuthResponse.OAuthResponseBuilder
-
-