Uses of Class
org.springframework.web.servlet.mvc.condition.HeadersRequestCondition
Packages that use 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
Subclasses with type arguments of type HeadersRequestCondition in org.springframework.web.servlet.mvc.conditionModifier and TypeClassDescriptionfinal classA logical conjunction (' && ') request condition that matches a request against a set of header expressions with syntax defined inRequestMapping.headers().Methods in org.springframework.web.servlet.mvc.condition that return HeadersRequestConditionModifier and TypeMethodDescriptionHeadersRequestCondition.combine(HeadersRequestCondition other) Returns a new instance with the union of the header expressions from "this" and the "other" instance.HeadersRequestCondition.getMatchingCondition(jakarta.servlet.http.HttpServletRequest request) Returns "this" instance if the request matches all expressions; ornullotherwise.Methods in org.springframework.web.servlet.mvc.condition with parameters of type HeadersRequestConditionModifier and TypeMethodDescriptionHeadersRequestCondition.combine(HeadersRequestCondition other) Returns a new instance with the union of the header expressions from "this" and the "other" instance.intHeadersRequestCondition.compareTo(HeadersRequestCondition other, jakarta.servlet.http.HttpServletRequest request) Compare to another condition based on header expressions. -
Uses of HeadersRequestCondition in org.springframework.web.servlet.mvc.method
Methods in org.springframework.web.servlet.mvc.method that return HeadersRequestConditionModifier and TypeMethodDescriptionRequestMappingInfo.getHeadersCondition()Return the "headers" condition of thisRequestMappingInfo; or instance with 0 header expressions (nevernull).Constructors in org.springframework.web.servlet.mvc.method with parameters of type HeadersRequestConditionModifierConstructorDescriptionRequestMappingInfo(@Nullable String name, @Nullable PatternsRequestCondition patterns, @Nullable RequestMethodsRequestCondition methods, @Nullable ParamsRequestCondition params, @Nullable HeadersRequestCondition headers, @Nullable ConsumesRequestCondition consumes, @Nullable ProducesRequestCondition produces, @Nullable VersionRequestCondition version, @Nullable RequestCondition<?> custom) Deprecated.RequestMappingInfo(@Nullable PatternsRequestCondition patterns, @Nullable RequestMethodsRequestCondition methods, @Nullable ParamsRequestCondition params, @Nullable HeadersRequestCondition headers, @Nullable ConsumesRequestCondition consumes, @Nullable ProducesRequestCondition produces, @Nullable VersionRequestCondition version, @Nullable RequestCondition<?> custom) Deprecated.in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).
RequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).