- All Superinterfaces:
HttpRequest.Builder
- All Known Implementing Classes:
MutableRequest
- Enclosing class:
TaggableRequest
An
HttpRequest.Builder
that allows attaching tags.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
copy()
DELETE()
expectContinue
(boolean enable) GET()
method
(String method, HttpRequest.BodyPublisher bodyPublisher) POST
(HttpRequest.BodyPublisher bodyPublisher) PUT
(HttpRequest.BodyPublisher bodyPublisher) Removes the tag associated with the given type.Removes the tag associated with the given type.Adds a tag mapped to the given type.Adds a tag mapped to the given type.Adds a tag mapped to the given object's runtime type.version
(HttpClient.Version version) Methods inherited from interface java.net.http.HttpRequest.Builder
HEAD
-
Method Details
-
tag
Adds a tag mapped to the given object's runtime type. -
tag
Adds a tag mapped to the given type. -
tag
Adds a tag mapped to the given type. -
removeTag
Removes the tag associated with the given type. -
removeTag
Removes the tag associated with the given type. -
uri
- Specified by:
uri
in interfaceHttpRequest.Builder
-
expectContinue
- Specified by:
expectContinue
in interfaceHttpRequest.Builder
-
version
- Specified by:
version
in interfaceHttpRequest.Builder
-
header
- Specified by:
header
in interfaceHttpRequest.Builder
-
headers
- Specified by:
headers
in interfaceHttpRequest.Builder
-
timeout
- Specified by:
timeout
in interfaceHttpRequest.Builder
-
setHeader
- Specified by:
setHeader
in interfaceHttpRequest.Builder
-
GET
TaggableRequest.Builder GET()- Specified by:
GET
in interfaceHttpRequest.Builder
-
POST
- Specified by:
POST
in interfaceHttpRequest.Builder
-
PUT
- Specified by:
PUT
in interfaceHttpRequest.Builder
-
DELETE
TaggableRequest.Builder DELETE()- Specified by:
DELETE
in interfaceHttpRequest.Builder
-
method
- Specified by:
method
in interfaceHttpRequest.Builder
-
copy
TaggableRequest.Builder copy()- Specified by:
copy
in interfaceHttpRequest.Builder
-
build
TaggableRequest build()- Specified by:
build
in interfaceHttpRequest.Builder
-