com.bandwidth.http.client.HttpCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-sdk Show documentation
Show all versions of bandwidth-sdk Show documentation
The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
/*
* BandwidthLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
package com.bandwidth.http.client;
import com.bandwidth.http.request.HttpRequest;
/**
* Callback to be called before and after the HTTP call for an endpoint is made.
*/
public interface HttpCallback {
/**
* Callback called just before the HTTP request is sent.
* @param request The HTTP request to be executed
*/
public void onBeforeRequest(HttpRequest request);
/**
* Callback called just after the HTTP response is received.
* @param context Context for the HTTP call
*/
public void onAfterResponse(HttpContext context);
}