com.urbanairship.api.client.RequestClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-client Show documentation
Show all versions of java-client Show documentation
The Urban Airship Java client library
package com.urbanairship.api.client;
import java.io.Closeable;
import java.util.Map;
import java.util.concurrent.Future;
/**
* RequestClient must be implemented to create a custom HTTP client that is then used by UrbanAirshipClient to make requests.
*/
public interface RequestClient extends Closeable {
/**
* Executes the HTTP request.
* @param request the Request.
* @param callback the ResponseCallback.
* @param headers a Map of the headers.
* @param type
* @return The Future Response.
*/
public Future executeAsync(final Request request, final ResponseCallback callback, Map headers);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy