/* * Author: Balch * Created: 2/6/17 6:21 AM * * This file is part of MockTrade. * * MockTrade is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * MockTrade is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MockTrade. If not, see <http://www.gnu.org/licenses/>. * * Copyright (C) 2017 * */ package com.balch.mocktrade; import com.android.volley.Request; public interface NetworkRequestProvider { <T> Request<T> addRequest(Request<T> request); <T> Request<T> addRequest(Request<T> request, boolean customRetryPolicy); }