// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package org.apache.oltu.oauth2.client.response; import org.apache.oltu.oauth2.common.exception.OAuthProblemException; import org.apache.oltu.oauth2.common.exception.OAuthSystemException; import org.apache.oltu.oauth2.common.utils.OAuthUtils; // Referenced classes of package org.apache.oltu.oauth2.client.response: // OAuthClientResponse, GitHubTokenResponse, OAuthJSONAccessTokenResponse public class OAuthClientResponseFactory { public OAuthClientResponseFactory() { } public static OAuthClientResponse createCustomResponse(String s, String s1, int i, Class class1) throws OAuthSystemException, OAuthProblemException { class1 = (OAuthClientResponse)OAuthUtils.instantiateClassWithParameters(class1, null, null); class1.init(s, s1, i); return class1; } public static OAuthClientResponse createGitHubTokenResponse(String s, String s1, int i) throws OAuthProblemException { GitHubTokenResponse githubtokenresponse = new GitHubTokenResponse(); githubtokenresponse.init(s, s1, i); return githubtokenresponse; } public static OAuthClientResponse createJSONTokenResponse(String s, String s1, int i) throws OAuthProblemException { OAuthJSONAccessTokenResponse oauthjsonaccesstokenresponse = new OAuthJSONAccessTokenResponse(); oauthjsonaccesstokenresponse.init(s, s1, i); return oauthjsonaccesstokenresponse; } }