Interface ResourceRequest.Builder
- Enclosing interface:
ResourceRequest
public static interface ResourceRequest.Builder
Builder for
ResourceRequest.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds theResourceRequest.inputResponses(@Nullable Map<String, ?> inputResponses) Sets the client responses supplied when retrying an input-required resource read.Sets the optional protocol extension metadata.params(Map<String, ? extends UriTemplateValue> params) Sets the URI-template variable values extracted during template matching.requestState(@Nullable String requestState) Sets the opaque request state supplied when retrying an input-required resource read.Sets the resource URI being requested.uriTemplate(@Nullable String uriTemplate) Sets the URI template that matched the request.
-
Method Details
-
uri
Sets the resource URI being requested. -
params
Sets the URI-template variable values extracted during template matching. -
uriTemplate
Sets the URI template that matched the request. -
meta
Sets the optional protocol extension metadata. -
inputResponses
Sets the client responses supplied when retrying an input-required resource read.- Parameters:
inputResponses- input responses, ornull
-
requestState
Sets the opaque request state supplied when retrying an input-required resource read.- Parameters:
requestState- request state, ornull
-
build
ResourceRequest build()Builds theResourceRequest.
-