com.ingenico.connect.gateway.sdk.java.BodyHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
The 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