public interface RESTClient
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
<T extends RESTResponse> |
delete(java.lang.String path,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
delete(java.lang.String path,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
delete(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> queryParams,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
delete(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> queryParams,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
get(java.lang.String path,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
get(java.lang.String path,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
<T extends RESTResponse> |
get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> queryParams,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
get(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> queryParams,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
void |
head(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default void |
head(java.lang.String path,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
<T extends RESTResponse> |
post(java.lang.String path,
RESTRequest body,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
post(java.lang.String path,
RESTRequest body,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler,
java.util.function.Consumer<java.util.Map<java.lang.String,java.lang.String>> responseHeaders) |
default <T extends RESTResponse> |
post(java.lang.String path,
RESTRequest body,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
post(java.lang.String path,
RESTRequest body,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler,
java.util.function.Consumer<java.util.Map<java.lang.String,java.lang.String>> responseHeaders) |
<T extends RESTResponse> |
postForm(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> formData,
java.lang.Class<T> responseType,
java.util.Map<java.lang.String,java.lang.String> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default <T extends RESTResponse> |
postForm(java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> formData,
java.lang.Class<T> responseType,
java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers,
java.util.function.Consumer<ErrorResponse> errorHandler) |
default void head(java.lang.String path, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
void head(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T delete(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> queryParams, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T delete(java.lang.String path, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
<T extends RESTResponse> T delete(java.lang.String path, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T delete(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> queryParams, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T get(java.lang.String path, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T get(java.lang.String path, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T get(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> queryParams, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
<T extends RESTResponse> T get(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> queryParams, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T post(java.lang.String path, RESTRequest body, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T post(java.lang.String path, RESTRequest body, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler, java.util.function.Consumer<java.util.Map<java.lang.String,java.lang.String>> responseHeaders)
default <T extends RESTResponse> T post(java.lang.String path, RESTRequest body, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler, java.util.function.Consumer<java.util.Map<java.lang.String,java.lang.String>> responseHeaders)
<T extends RESTResponse> T post(java.lang.String path, RESTRequest body, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
default <T extends RESTResponse> T postForm(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> formData, java.lang.Class<T> responseType, java.util.function.Supplier<java.util.Map<java.lang.String,java.lang.String>> headers, java.util.function.Consumer<ErrorResponse> errorHandler)
<T extends RESTResponse> T postForm(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> formData, java.lang.Class<T> responseType, java.util.Map<java.lang.String,java.lang.String> headers, java.util.function.Consumer<ErrorResponse> errorHandler)