public static class OAuthResponse.OAuthResponseBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected OAuthParametersApplier |
applier |
protected String |
location |
protected Map<String,Object> |
parameters |
protected int |
responseCode |
| Constructor and Description |
|---|
OAuthResponse.OAuthResponseBuilder(int responseCode) |
| Modifier and Type | Method and Description |
|---|---|
OAuthResponse |
buildBodyMessage() |
OAuthResponse |
buildHeaderMessage() |
OAuthResponse |
buildJSONMessage() |
OAuthResponse |
buildQueryMessage() |
OAuthResponse.OAuthResponseBuilder |
location(String location) |
OAuthResponse.OAuthResponseBuilder |
setParam(String key,
String value) |
OAuthResponse.OAuthResponseBuilder |
setScope(String value) |
protected OAuthParametersApplier applier
protected int responseCode
protected String location
public OAuthResponse.OAuthResponseBuilder(int responseCode)
public OAuthResponse.OAuthResponseBuilder location(String location)
public OAuthResponse.OAuthResponseBuilder setScope(String value)
public OAuthResponse.OAuthResponseBuilder setParam(String key, String value)
public OAuthResponse buildQueryMessage() throws OAuthSystemException
OAuthSystemExceptionpublic OAuthResponse buildBodyMessage() throws OAuthSystemException
OAuthSystemExceptionpublic OAuthResponse buildJSONMessage() throws OAuthSystemException
OAuthSystemExceptionpublic OAuthResponse buildHeaderMessage() throws OAuthSystemException
OAuthSystemExceptionCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.