Class HttpRequestValues
java.lang.Object
org.springframework.web.service.invoker.HttpRequestValues
Container for HTTP request values extracted from an
 
@HttpExchange-annotated
 method and argument values passed to it. This is then given to
 HttpClientAdapter to adapt to the underlying HTTP client.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpRequestValues.Builderbuilder()Return the attributes associated with the request, or an empty map.Publisher<?>getBody()Return the request body as a Publisher.Return the element type for a Publisher body.Return the request body as a value to be serialized, if set.Return the cookies for the request, or an empty map.Return the headers for the request, if any.Return the HTTP method to use for the request.getUri()Return the URL to use.Return the URL template for the request.Return the URL template variables, or an empty map.
- 
Method Details- 
getHttpMethodReturn the HTTP method to use for the request.
- 
getUriReturn the URL to use.Typically, this comes from a URImethod argument, which provides the caller with the option to override theuriTemplatefrom class and methodHttpExchangeannotations. annotation.
- 
getUriTemplateReturn the URL template for the request. This comes from the values in class and methodHttpExchangeannotations.
- 
getUriVariablesReturn the URL template variables, or an empty map.
- 
getHeadersReturn the headers for the request, if any.
- 
getCookiesReturn the cookies for the request, or an empty map.
- 
getAttributesReturn the attributes associated with the request, or an empty map.
- 
getBodyValueReturn the request body as a value to be serialized, if set.This is mutually exclusive with getBody(). Only one of the two or neither is set.
- 
getBodyReturn the request body as a Publisher.This is mutually exclusive with getBodyValue(). Only one of the two or neither is set.
- 
getBodyElementTypeReturn the element type for a Publisher body.
- 
builder
 
-