Module io.helidon.webclient.api
Package io.helidon.webclient.api
Interface HttpClient<REQ extends ClientRequest<REQ>>
- Type Parameters:
REQ- type of the client request
- All Superinterfaces:
ReleasableResource
- All Known Subinterfaces:
Http1Client,Http2Client,WebClient
- All Known Implementing Classes:
DirectClient,DirectWebClient
HTTP client.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidGracefully close all opened client specific connections.default REQdelete()Shortcut for delete method with default path.default REQShortcut for delete method with a path.default REQget()Shortcut for get method with default path.default REQShortcut for get method with a path.default REQhead()Shortcut for head method with default path.default REQShortcut for head method with a path.Create a request for a method.default REQoptions()Shortcut for options method with default path.default REQShortcut for options method with a path.default REQpatch()Shortcut for patch method with default path.default REQShortcut for patch method with a path.default REQpost()Shortcut for post method with default path.default REQShortcut for post method with a path.default REQput()Shortcut for put method with default path.default REQShortcut for put method with a path.default REQtrace()Shortcut for trace method with default path.default REQShortcut for trace method with a path.Methods inherited from interface io.helidon.webclient.api.ReleasableResource
releaseResource
-
Method Details
-
method
Create a request for a method.- Parameters:
method- HTTP method- Returns:
- a new request (not thread safe)
-
closeResource
default void closeResource()Gracefully close all opened client specific connections.- Specified by:
closeResourcein interfaceReleasableResource
-
get
Shortcut for get method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
get
Shortcut for get method with default path.- Returns:
- a new request (not thread safe)
-
post
Shortcut for post method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
post
Shortcut for post method with default path.- Returns:
- a new request (not thread safe)
-
put
Shortcut for put method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
put
Shortcut for put method with default path.- Returns:
- a new request (not thread safe)
-
delete
Shortcut for delete method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
delete
Shortcut for delete method with default path.- Returns:
- a new request (not thread safe)
-
head
Shortcut for head method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
head
Shortcut for head method with default path.- Returns:
- a new request (not thread safe)
-
options
Shortcut for options method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
options
Shortcut for options method with default path.- Returns:
- a new request (not thread safe)
-
trace
Shortcut for trace method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
trace
Shortcut for trace method with default path.- Returns:
- a new request (not thread safe)
-
patch
Shortcut for patch method with a path.- Parameters:
uri- path to resolve against base URI, or full URI- Returns:
- a new request (not thread safe)
-
patch
Shortcut for patch method with default path.- Returns:
- a new request (not thread safe)
-