org.apache.amber.oauth2.common.message
Class OAuthResponse.OAuthResponseBuilder
java.lang.Object
org.apache.amber.oauth2.common.message.OAuthResponse.OAuthResponseBuilder
- Direct Known Subclasses:
- OAuthResponse.OAuthErrorResponseBuilder
- Enclosing class:
- OAuthResponse
public static class OAuthResponse.OAuthResponseBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applier
protected OAuthParametersApplier applier
parameters
protected Map<String,Object> parameters
responseCode
protected int responseCode
location
protected String location
OAuthResponse.OAuthResponseBuilder
public OAuthResponse.OAuthResponseBuilder(int responseCode)
location
public OAuthResponse.OAuthResponseBuilder location(String location)
setScope
public OAuthResponse.OAuthResponseBuilder setScope(String value)
setParam
public OAuthResponse.OAuthResponseBuilder setParam(String key,
String value)
buildQueryMessage
public OAuthResponse buildQueryMessage()
throws OAuthSystemException
- Throws:
OAuthSystemException
buildBodyMessage
public OAuthResponse buildBodyMessage()
throws OAuthSystemException
- Throws:
OAuthSystemException
buildJSONMessage
public OAuthResponse buildJSONMessage()
throws OAuthSystemException
- Throws:
OAuthSystemException
buildHeaderMessage
public OAuthResponse buildHeaderMessage()
throws OAuthSystemException
- Throws:
OAuthSystemException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.