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

com.ingenico.connect.gateway.sdk.java.BodyHandler 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.IOException;
import java.io.InputStream;
import java.util.List;

/**
 * An interface for handling binary responses.
 */
public interface BodyHandler {

	/**
	 * @param bodyStream The raw response body as an input stream. 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}.
	 */
	void handleBody(InputStream bodyStream, List headers) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy