Uses of Class
org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
Package
Description
Common MVC logic for matching incoming requests based on conditions.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method
package.-
Uses of HeadersRequestCondition in org.springframework.web.servlet.mvc.condition
Modifier and TypeMethodDescriptionHeadersRequestCondition.combine
(HeadersRequestCondition other) Returns a new instance with the union of the header expressions from "this" and the "other" instance.HeadersRequestCondition.getMatchingCondition
(HttpServletRequest request) Returns "this" instance if the request matches all expressions; ornull
otherwise.Modifier and TypeMethodDescriptionHeadersRequestCondition.combine
(HeadersRequestCondition other) Returns a new instance with the union of the header expressions from "this" and the "other" instance.int
HeadersRequestCondition.compareTo
(HeadersRequestCondition other, HttpServletRequest request) Compare to another condition based on header expressions. -
Uses of HeadersRequestCondition in org.springframework.web.servlet.mvc.method
Modifier and TypeMethodDescriptionRequestMappingInfo.getHeadersCondition()
Return the "headers" condition of thisRequestMappingInfo
; or instance with 0 header expressions (nevernull
).ModifierConstructorDescriptionRequestMappingInfo
(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.RequestMappingInfo
(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom) Deprecated.as of 5.3 in favor usingRequestMappingInfo.Builder
viaRequestMappingInfo.paths(String...)
.
RequestMappingInfo.Builder
viaRequestMappingInfo.paths(String...)
.