public interface WebClient
Base client which is used to perform requests.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic WebClient.Builder
builder()
Fluent API builder for client.static WebClient
create()
Create a new WebClient.static WebClient
Create a new WebClient based onConfig
.delete()
Create a request builder for a delete method.get()
Create a request builder for a get method.head()
Create a request builder for a head method.method
(Http.RequestMethod method) Create a request builder for a method based on method parameter.Create a request builder for a method based on method parameter.options()
Create a request builder for a options method.post()
Create a request builder for a post method.put()
Create a request builder for a put method.trace()
Create a request builder for a trace method.
-
Method Details
-
create
Create a new WebClient.- Returns:
- client
-
create
Create a new WebClient based onConfig
.- Parameters:
config
- client config- Returns:
- client
-
builder
Fluent API builder for client.- Returns:
- client builder
-
put
WebClientRequestBuilder put()Create a request builder for a put method.- Returns:
- client request builder
-
get
WebClientRequestBuilder get()Create a request builder for a get method.- Returns:
- client request builder
-
post
WebClientRequestBuilder post()Create a request builder for a post method.- Returns:
- client request builder
-
delete
WebClientRequestBuilder delete()Create a request builder for a delete method.- Returns:
- client request builder
-
options
WebClientRequestBuilder options()Create a request builder for a options method.- Returns:
- client request builder
-
trace
WebClientRequestBuilder trace()Create a request builder for a trace method.- Returns:
- client request builder
-
head
WebClientRequestBuilder head()Create a request builder for a head method.- Returns:
- client request builder
-
method
Create a request builder for a method based on method parameter.- Parameters:
method
- request method- Returns:
- client request builder
-
method
Create a request builder for a method based on method parameter.- Parameters:
method
- request method- Returns:
- client request builder
-