Uses of Class
org.springframework.web.service.invoker.HttpRequestValues.Builder
Package
Description
Support for creating a client proxy for an HTTP service annotated with
HttpExchange
methods.-
Uses of HttpRequestValues.Builder in org.springframework.web.service.invoker
Modifier and TypeMethodDescriptionHttpRequestValues.Builder.addAttribute
(String name, Object value) Configure an attribute to associate with the request.Add the given cookie name and values.Add the given header name and values.HttpRequestValues.Builder.addRequestParameter
(String name, String... values) Add the given request parameter name and values.HttpRequestValues.Builder.addRequestPart
(String name, Object part) Add a part to a multipart request.<T,
P extends Publisher<T>>
HttpRequestValues.BuilderHttpRequestValues.Builder.addRequestPart
(String name, P publisher, ResolvableType type) Variant ofaddRequestPart(String, Object)
that allows the part value to be produced by aPublisher
.static HttpRequestValues.Builder
HttpRequestValues.builder()
Set the media types for the requestAccept
header.HttpRequestValues.Builder.setContentType
(MediaType contentType) Set the media type for the requestContent-Type
header.HttpRequestValues.Builder.setHttpMethod
(HttpMethod httpMethod) Set the HTTP method for the request.Set the request URL as a full URL.HttpRequestValues.Builder.setUriTemplate
(String uriTemplate) Set the request URL as a String template.HttpRequestValues.Builder.setUriVariable
(String name, String value) Add a URI variable name-value pair.Modifier and TypeMethodDescriptionprotected abstract void
AbstractNamedValueArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) Add the given, single request value.protected void
CookieValueArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) protected void
PathVariableArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) protected void
RequestAttributeArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) protected void
RequestHeaderArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) protected void
RequestParamArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) protected void
RequestPartArgumentResolver.addRequestValue
(String name, Object value, MethodParameter parameter, HttpRequestValues.Builder requestValues) boolean
AbstractNamedValueArgumentResolver.resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) boolean
HttpMethodArgumentResolver.resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) boolean
HttpServiceArgumentResolver.resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) Resolve the argument value.boolean
RequestBodyArgumentResolver.resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues) boolean
UrlArgumentResolver.resolve
(Object argument, MethodParameter parameter, HttpRequestValues.Builder requestValues)