类 HttpRequestValues
java.lang.Object
cn.taketoday.web.service.invoker.HttpRequestValues
- 直接已知子类:
ReactiveHttpRequestValues
Container for HTTP request values extracted from an
@HttpExchange-annotated
method and argument values passed to it. This is then given to
HttpExchangeAdapter to adapt to the underlying HTTP client.- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final Objectprivate final HttpHeadersprivate final HttpMethodprivate final URIprivate final String -
构造器概要
构造器限定符构造器说明protectedHttpRequestValues(HttpMethod httpMethod, URI uri, String uriTemplate, Map<String, String> uriVariables, HttpHeaders headers, cn.taketoday.util.MultiValueMap<String, String> cookies, Map<String, Object> attributes, Object bodyValue) -
方法概要
修饰符和类型方法说明static HttpRequestValues.Builderbuilder()Return the attributes associated with the request, or an empty map.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.
-
字段详细资料
-
EMPTY_COOKIES_MAP
-
httpMethod
-
uri
-
uriTemplate
-
uriVariables
-
headers
-
cookies
-
attributes
-
bodyValue
-
-
构造器详细资料
-
HttpRequestValues
-
-
方法详细资料
-
getHttpMethod
Return the HTTP method to use for the request. -
getUri
Return 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. -
getUriTemplate
Return the URL template for the request. This comes from the values in class and methodHttpExchangeannotations. -
getUriVariables
Return the URL template variables, or an empty map. -
getHeaders
Return the headers for the request, if any. -
getCookies
Return the cookies for the request, or an empty map. -
getAttributes
Return the attributes associated with the request, or an empty map. -
getBodyValue
Return the request body as a value to be serialized, if set. -
builder
-