public class OAuth2ResponseParams extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APPROVAL_URL |
static String |
ERROR_CODE |
static String |
ERROR_EXPLANATION |
static String |
ERROR_TEXT |
static String |
ERROR_TRACE |
static String |
ERROR_URI |
| Constructor and Description |
|---|
OAuth2ResponseParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDebug(String debugMessage) |
void |
addRequestTrace(HttpRequest request,
HttpResponse response)
Add a request/response pair to our trace of actions associated with this
request.
|
void |
addToResponse(HttpResponseBuilder responseBuilder,
String errorCode,
String errorDescription,
String errorUri,
String errorExplanation) |
String |
getAuthorizationUrl() |
void |
setAuthorizationUrl(String authorizationUrl) |
public static final String APPROVAL_URL
public static final String ERROR_CODE
public static final String ERROR_TEXT
public static final String ERROR_TRACE
public static final String ERROR_URI
public static final String ERROR_EXPLANATION
public void addRequestTrace(HttpRequest request, HttpResponse response)
public void addDebug(String debugMessage)
public void addToResponse(HttpResponseBuilder responseBuilder, String errorCode, String errorDescription, String errorUri, String errorExplanation)
public String getAuthorizationUrl()
public void setAuthorizationUrl(String authorizationUrl)
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.