// Path: ADNLibModule/src/main/java/com/alwaysallthetime/adnlib/response/AppDotNetResponseHandler.java
// public abstract class AppDotNetResponseHandler<T extends IAppDotNetObject> {
//     private static final String TAG = "AppDotNetResponseHandler";
// 
//     private final Gson gson;
//     private final Type responseType;
// 
//     // subclasses must call this constructor and initialize responseType since there is no default constructor
//     protected AppDotNetResponseHandler(TypeToken typeToken) {
//         gson = AppDotNetGson.getInstance();
//         responseType = typeToken.getType();
//     }
// 
//     protected <T> T parseResponse(Reader reader) {
//         return gson.fromJson(reader, responseType);
//     }
// 
//     public abstract void handleResponse(Reader reader);
// 
//     public abstract void onSuccess(T responseData);
// 
//     public void onError(Exception error) {
//         Log.e(TAG, error.getMessage(), error);
//     }
// }


import java.util.List;
import android.net.Uri;
import com.alwaysallthetime.adnlib.response.AppDotNetResponseHandler;
import org.apache.http.NameValuePair;
package com.alwaysallthetime.adnlib.request;





public class AppDotNetOAuthRequest extends AppDotNetFormRequest {
    private static final String ADN_OAUTH_BASE_URL = "https://account.app.net/oauth/";
    private static final Uri ADN_OAUTH_BASE = Uri.parse(ADN_OAUTH_BASE_URL);

// Path: ADNLibModule/src/main/java/com/alwaysallthetime/adnlib/response/AppDotNetResponseHandler.java
// public abstract class AppDotNetResponseHandler<T extends IAppDotNetObject> {
//     private static final String TAG = "AppDotNetResponseHandler";
// 
//     private final Gson gson;
//     private final Type responseType;
// 
//     // subclasses must call this constructor and initialize responseType since there is no default constructor
//     protected AppDotNetResponseHandler(TypeToken typeToken) {
//         gson = AppDotNetGson.getInstance();
//         responseType = typeToken.getType();
//     }
// 
//     protected <T> T parseResponse(Reader reader) {
//         return gson.fromJson(reader, responseType);
//     }
// 
//     public abstract void handleResponse(Reader reader);
// 
//     public abstract void onSuccess(T responseData);
// 
//     public void onError(Exception error) {
//         Log.e(TAG, error.getMessage(), error);
//     }
// }


// Path: ADNLibModule/src/main/java/com/alwaysallthetime/adnlib/request/AppDotNetOAuthRequest.java
import java.util.List;
import android.net.Uri;
import com.alwaysallthetime.adnlib.response.AppDotNetResponseHandler;
import org.apache.http.NameValuePair;

package com.alwaysallthetime.adnlib.request;





public class AppDotNetOAuthRequest extends AppDotNetFormRequest {
    private static final String ADN_OAUTH_BASE_URL = "https://account.app.net/oauth/";
    private static final Uri ADN_OAUTH_BASE = Uri.parse(ADN_OAUTH_BASE_URL);

    public AppDotNetOAuthRequest(AppDotNetResponseHandler handler, List<? extends NameValuePair> body, String... pathComponents) {