Package | Description |
---|---|
com.worldline.connect.sdk.java | |
com.worldline.connect.sdk.java.communication |
Modifier and Type | Method and Description |
---|---|
void |
BodyHandler.handleBody(InputStream bodyStream,
List<ResponseHeader> headers) |
protected void |
Communicator.processResponse(int statusCode,
InputStream bodyStream,
List<ResponseHeader> headers,
BodyHandler bodyHandler,
String requestPath,
CallContext context) |
protected <O> O |
Communicator.processResponse(int statusCode,
InputStream bodyStream,
List<ResponseHeader> headers,
Class<O> responseType,
String requestPath,
CallContext context) |
protected static void |
Communicator.throwExceptionIfNecessary(int statusCode,
InputStream bodyStream,
List<ResponseHeader> headers,
String requestPath)
Checks the status code and headers for errors and throws an exception if necessary.
|
protected static void |
Communicator.updateContext(List<ResponseHeader> headers,
CallContext context)
Updates the given call context based on the contents of the given response.
|
Modifier and Type | Method and Description |
---|---|
static ResponseHeader |
ResponseHeader.getHeader(List<ResponseHeader> headers,
String headerName) |
ResponseHeader |
ResponseException.getHeader(String headerName) |
Modifier and Type | Method and Description |
---|---|
List<ResponseHeader> |
ResponseException.getHeaders() |
protected List<ResponseHeader> |
DefaultConnection.getHeaders(org.apache.http.HttpResponse httpResponse) |
Modifier and Type | Method and Description |
---|---|
static String |
ResponseHeader.getDispositionFilename(List<ResponseHeader> headers) |
static ResponseHeader |
ResponseHeader.getHeader(List<ResponseHeader> headers,
String headerName) |
static String |
ResponseHeader.getHeaderValue(List<ResponseHeader> headers,
String headerName) |
R |
ResponseHandler.handleResponse(int statusCode,
InputStream bodyStream,
List<ResponseHeader> headers) |
Constructor and Description |
---|
ResponseException(int statusCode,
String body,
List<ResponseHeader> headers) |
Copyright © 2024 Worldline Global Collect. All rights reserved.