All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ingenico.connect.gateway.sdk.java.ResponseHandler Maven / Gradle / Ivy

Go to download

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

There is a newer version: 6.47.0
Show newest version
package com.ingenico.connect.gateway.sdk.java;

import java.io.InputStream;
import java.util.List;

/**
 * An interface for handling responses from the Ingenico ePayments platform.
 */
public interface ResponseHandler {

	/**
	 * @param statusCode The HTTP status code that was returned by the Ingenico ePayments platform.
	 * @param bodyStream The raw response body that was returned by the Ingenico ePayments platform. Note that it will be closed outside of this method.
	 * @param headers The headers that were returned by the Ingenico ePayments platform. Never {@code null}.
	 */
	R handleResponse(int statusCode, InputStream bodyStream, List headers);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy