Interface TaggableRequest.Builder
- 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 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:
uriin interfaceHttpRequest.Builder
-
expectContinue
- Specified by:
expectContinuein interfaceHttpRequest.Builder
-
version
- Specified by:
versionin interfaceHttpRequest.Builder
-
header
- Specified by:
headerin interfaceHttpRequest.Builder
-
headers
- Specified by:
headersin interfaceHttpRequest.Builder
-
timeout
- Specified by:
timeoutin interfaceHttpRequest.Builder
-
setHeader
- Specified by:
setHeaderin interfaceHttpRequest.Builder
-
GET
- Specified by:
GETin interfaceHttpRequest.Builder
-
POST
- Specified by:
POSTin interfaceHttpRequest.Builder
-
PUT
- Specified by:
PUTin interfaceHttpRequest.Builder
-
DELETE
- Specified by:
DELETEin interfaceHttpRequest.Builder
-
method
@CanIgnoreReturnValue TaggableRequest.Builder method(String method, HttpRequest.BodyPublisher bodyPublisher) - Specified by:
methodin interfaceHttpRequest.Builder
-
copy
TaggableRequest.Builder copy()- Specified by:
copyin interfaceHttpRequest.Builder
-
build
TaggableRequest build()- Specified by:
buildin interfaceHttpRequest.Builder
-