This project has retired. For details please refer to its Attic page.
OAuthClientResponseFactory | Apache Oltu - OAuth 2.0
public class

OAuthClientResponseFactory

extends Object
java.lang.Object
   ↳ org.apache.oltu.oauth2.client.response.OAuthClientResponseFactory

Summary

Public Constructors
OAuthClientResponseFactory()
Public Methods
static <T extends OAuthClientResponse> T 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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OAuthClientResponseFactory ()

Public Methods

public static T createCustomResponse (String body, String contentType, int responseCode, Class<T> clazz)

public static OAuthClientResponse createGitHubTokenResponse (String body, String contentType, int responseCode)

public static OAuthClientResponse createJSONTokenResponse (String body, String contentType, int responseCode)