Modifier and Type | Method and Description |
---|---|
protected List<RequestHeader> |
ApiResource.getClientHeaders() |
Modifier and Type | Method and Description |
---|---|
protected void |
Communicator.addGenericHeaders(String httpMethod,
URI uri,
List<RequestHeader> requestHeaders,
CallContext context)
Adds the necessary headers to the given list of headers.
|
void |
Communicator.delete(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
BodyHandler bodyHandler,
CallContext context)
Corresponds to the HTTP DELETE method.
|
<O> O |
Communicator.delete(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
Class<O> responseType,
CallContext context)
Corresponds to the HTTP DELETE method.
|
void |
Communicator.get(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
BodyHandler bodyHandler,
CallContext context)
Corresponds to the HTTP GET method.
|
<O> O |
Communicator.get(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
Class<O> responseType,
CallContext context)
Corresponds to the HTTP GET method.
|
void |
Communicator.post(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
Object requestBody,
BodyHandler bodyHandler,
CallContext context)
Corresponds to the HTTP POST method.
|
<O> O |
Communicator.post(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
Object requestBody,
Class<O> responseType,
CallContext context)
Corresponds to the HTTP POST method.
|
void |
Communicator.put(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
Object requestBody,
BodyHandler bodyHandler,
CallContext context)
Corresponds to the HTTP PUT method.
|
<O> O |
Communicator.put(String relativePath,
List<RequestHeader> requestHeaders,
ParamRequest requestParameters,
Object requestBody,
Class<O> responseType,
CallContext context)
Corresponds to the HTTP PUT method.
|
Modifier and Type | Method and Description |
---|---|
String |
Authenticator.getAuthorization(String httpMethod,
URI resourceUri,
List<RequestHeader> requestHeaders)
Returns a value that can be used for the "Authorization" header.
|
String |
V1HMACAuthenticator.getAuthorization(String httpMethod,
URI resourceUri,
List<RequestHeader> httpHeaders) |
Modifier and Type | Method and Description |
---|---|
static RequestHeader |
RequestHeader.getHeader(List<RequestHeader> headers,
String headerName) |
Modifier and Type | Method and Description |
---|---|
Collection<RequestHeader> |
MetadataProvider.getServerMetadataHeaders() |
Modifier and Type | Method and Description |
---|---|
MetadataProviderBuilder |
MetadataProviderBuilder.withAdditionalRequestHeader(RequestHeader additionalRequestHeader)
Adds an additional request header.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultConnection.addHeaders(org.apache.http.client.methods.HttpRequestBase httpRequestBase,
List<RequestHeader> requestHeaders) |
<R> R |
DefaultConnection.delete(URI uri,
List<RequestHeader> requestHeaders,
ResponseHandler<R> responseHandler) |
<R> R |
Connection.delete(URI uri,
List<RequestHeader> requestHeaders,
ResponseHandler<R> responseHandler)
Send a DELETE request to the Worldline Global Collect platform.
|
<R> R |
DefaultConnection.get(URI uri,
List<RequestHeader> requestHeaders,
ResponseHandler<R> responseHandler) |
<R> R |
Connection.get(URI uri,
List<RequestHeader> requestHeaders,
ResponseHandler<R> responseHandler)
Send a GET request to the Worldline Global Collect platform.
|
static RequestHeader |
RequestHeader.getHeader(List<RequestHeader> headers,
String headerName) |
static String |
RequestHeader.getHeaderValue(List<RequestHeader> headers,
String headerName) |
<R> R |
DefaultConnection.post(URI uri,
List<RequestHeader> requestHeaders,
MultipartFormDataObject multipart,
ResponseHandler<R> responseHandler) |
<R> R |
Connection.post(URI uri,
List<RequestHeader> requestHeaders,
MultipartFormDataObject multipart,
ResponseHandler<R> responseHandler)
Send a multipart/form-data POST request to the Worldline Global Collect platform.
|
<R> R |
DefaultConnection.post(URI uri,
List<RequestHeader> requestHeaders,
String body,
ResponseHandler<R> responseHandler) |
<R> R |
Connection.post(URI uri,
List<RequestHeader> requestHeaders,
String body,
ResponseHandler<R> responseHandler)
Send a POST request to the Worldline Global Collect platform.
|
<R> R |
DefaultConnection.put(URI uri,
List<RequestHeader> requestHeaders,
MultipartFormDataObject multipart,
ResponseHandler<R> responseHandler) |
<R> R |
Connection.put(URI uri,
List<RequestHeader> requestHeaders,
MultipartFormDataObject multipart,
ResponseHandler<R> responseHandler)
Send a multipart/form-data PUT request to the Worldline Global Collect platform.
|
<R> R |
DefaultConnection.put(URI uri,
List<RequestHeader> requestHeaders,
String body,
ResponseHandler<R> responseHandler) |
<R> R |
Connection.put(URI uri,
List<RequestHeader> requestHeaders,
String body,
ResponseHandler<R> responseHandler)
Send a PUT request to the Worldline Global Collect platform.
|
Modifier and Type | Method and Description |
---|---|
WebhooksEvent |
WebhooksHelper.unmarshal(byte[] body,
List<RequestHeader> requestHeaders)
Unmarshals the given body, while also validating it using the given request headers.
|
WebhooksEvent |
WebhooksHelper.unmarshal(InputStream bodyStream,
List<RequestHeader> requestHeaders)
Unmarshals the given input stream that contains the body,
while also validating its contents using the given request headers.
|
WebhooksEvent |
WebhooksHelper.unmarshal(String body,
List<RequestHeader> requestHeaders)
Unmarshals the given body, while also validating it using the given request headers.
|
Modifier and Type | Method and Description |
---|---|
void |
SignatureValidator.validate(byte[] body,
List<RequestHeader> requestHeaders)
Validates the given body using the given request headers.
|
void |
SignatureValidator.validate(String body,
List<RequestHeader> requestHeaders)
Validates the given body using the given request headers.
|
Copyright © 2024 Worldline Global Collect. All rights reserved.