public class OAuthClientResponseFactory
extends java.lang.Object
| Constructor and Description |
|---|
OAuthClientResponseFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends OAuthClientResponse> |
createCustomResponse(java.lang.String body,
java.lang.String contentType,
int responseCode,
java.lang.Class<T> clazz) |
static OAuthClientResponse |
createGitHubTokenResponse(java.lang.String body,
java.lang.String contentType,
int responseCode) |
static OAuthClientResponse |
createJSONTokenResponse(java.lang.String body,
java.lang.String contentType,
int responseCode) |
public static OAuthClientResponse createGitHubTokenResponse(java.lang.String body, java.lang.String contentType, int responseCode) throws OAuthProblemException
OAuthProblemExceptionpublic static OAuthClientResponse createJSONTokenResponse(java.lang.String body, java.lang.String contentType, int responseCode) throws OAuthProblemException
OAuthProblemExceptionpublic static <T extends OAuthClientResponse> T createCustomResponse(java.lang.String body, java.lang.String contentType, int responseCode, java.lang.Class<T> clazz) throws OAuthSystemException, OAuthProblemException
Copyright © 2010 - 2023 Adobe. All Rights Reserved