|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oltu.oauth2.client.response.OAuthClientResponseFactory
public class OAuthClientResponseFactory
| Constructor Summary | |
|---|---|
OAuthClientResponseFactory()
|
|
| Method Summary | ||
|---|---|---|
static
|
createCustomResponse(String body,
String contentType,
int responseCode,
Class<T> clazz)
|
|
static OAuthClientResponse |
createGitHubTokenResponse(String body,
String contentType,
int responseCode)
|
|
static OAuthClientResponse |
createJSONTokenResponse(String body,
String contentType,
int responseCode)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OAuthClientResponseFactory()
| Method Detail |
|---|
public static OAuthClientResponse createGitHubTokenResponse(String body,
String contentType,
int responseCode)
throws OAuthProblemException
OAuthProblemException
public static OAuthClientResponse createJSONTokenResponse(String body,
String contentType,
int responseCode)
throws OAuthProblemException
OAuthProblemException
public static <T extends OAuthClientResponse> T createCustomResponse(String body,
String contentType,
int responseCode,
Class<T> clazz)
throws OAuthSystemException,
OAuthProblemException
OAuthSystemException
OAuthProblemException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||