Package | Description |
---|---|
com.veeva.vault.sdk.api.http |
This package provides interfaces to make HTTP callouts (to Vault or to an external service).
|
Modifier and Type | Method and Description |
---|---|
HttpOperation<T> |
HttpOperation.ignoreError()
When specified, any error specified by
HttpOperationErrorType is ignored during HTTP request execution. |
HttpOperation<T> |
HttpOperation.onError(Consumer<HttpOperationError> errorHandler)
A function called when an HTTP request execution has failed with one of the
HttpOperationErrorType errors. |
HttpOperation<T> |
HttpOperation.onSuccess(Consumer<HttpResponse<T>> successHandler)
A function called when HTTP request execution has completed successfully with an HTTP response status code of 200.
|
HttpOperation<CsvData> |
HttpService.send(HttpRequest httpRequest,
CsvReadParameters csvReadParameters)
Creates an operation to send the specified HTTP request and convert the response body specifically
to
CsvData using the given custom csvReadParameters . |
<T> HttpOperation<T> |
HttpService.send(HttpRequest httpRequest,
HttpResponseBodyValueType<T> valueType)
Creates an operation to send the specified HTTP request and convert the response body to the given
valueType . |
Copyright © Veeva Systems 2017–2019. All rights reserved.