Package org.infinispan.client.rest
Interface RestRawClient
- All Known Implementing Classes:
RestRawClientOkHttp
public interface RestRawClient
Client to execute arbitrary requests on the server.
The URL to be called is the scheme, host and port configured in the
RestClientConfigurationBuilder
plus the 'path' that should be supplied to the methods of this class.- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletionStage<RestResponse> default CompletionStage<RestResponse> default CompletionStage<RestResponse> default CompletionStage<RestResponse>
-
Method Details
-
postForm
CompletionStage<RestResponse> postForm(String path, Map<String, String> headers, Map<String, List<String>> formParameters) -
post
-
postMultipartForm
CompletionStage<RestResponse> postMultipartForm(String url, Map<String, String> headers, Map<String, List<String>> formParameters) -
post
-
post
-
post
CompletionStage<RestResponse> post(String path, Map<String, String> headers, String body, String bodyMediaType) -
putValue
CompletionStage<RestResponse> putValue(String path, Map<String, String> headers, String body, String bodyMediaType) -
get
-
get
-
put
-
put
-
delete
-
delete
-
options
-
head
-
listen
-