Uses of Interface
org.springframework.web.servlet.mvc.condition.RequestCondition
Packages that use RequestCondition
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.MVC infrastructure for annotation-based handler method processing, building on the
 
org.springframework.web.method.annotation package.- 
Uses of RequestCondition in org.springframework.web.servlet.mvc.conditionClasses in org.springframework.web.servlet.mvc.condition that implement RequestConditionModifier and TypeClassDescriptionclassAbstractRequestCondition<T extends AbstractRequestCondition<T>>A base class forRequestConditiontypes providing implementations ofAbstractRequestCondition.equals(Object),AbstractRequestCondition.hashCode(), andAbstractRequestCondition.toString().classImplements theRequestConditioncontract by delegating to multipleRequestConditiontypes and using a logical conjunction (' && ') to ensure all conditions match a given request.final classA logical disjunction (' || ') request condition to match a request's 'Content-Type' header to a list of media type expressions.final classA logical conjunction (' && ') request condition that matches a request against a set of header expressions with syntax defined inRequestMapping.headers().final classA logical conjunction (' && ') request condition that matches a request against a set parameter expressions with syntax defined inRequestMapping.params().final classA logical disjunction (' || ') request condition that matches a request against a set of URL path patterns.classDeprecated, for removal: This API element is subject to removal in a future version.final classA logical disjunction (' || ') request condition to match a request's 'Accept' header to a list of media type expressions.final classA holder for aRequestConditionuseful when the type of the request condition is not known ahead of time, for example, custom condition.final classA logical disjunction (' || ') request condition that matches a request against a set ofRequestMethods.final classRequest condition to map based on the API version of the request.Methods in org.springframework.web.servlet.mvc.condition that return RequestConditionModifier and TypeMethodDescriptionRequestConditionHolder.getCondition()Return the held request condition, ornullif not holding one.Methods in org.springframework.web.servlet.mvc.condition that return types with arguments of type RequestConditionModifier and TypeMethodDescriptionList<RequestCondition<?>> CompositeRequestCondition.getConditions()Return the underlying conditions (possibly empty but nevernull).Constructors in org.springframework.web.servlet.mvc.condition with parameters of type RequestConditionModifierConstructorDescriptionCompositeRequestCondition(RequestCondition<?>... requestConditions) Create an instance with 0 or moreRequestConditiontypes.RequestConditionHolder(@Nullable RequestCondition<?> requestCondition) Create a new holder to wrap the given request condition.
- 
Uses of RequestCondition in org.springframework.web.servlet.mvc.methodClasses in org.springframework.web.servlet.mvc.method that implement RequestConditionMethods in org.springframework.web.servlet.mvc.method that return RequestConditionModifier and TypeMethodDescription<T> RequestCondition<T> RequestMappingInfo.getActivePatternsCondition()Returns eitherRequestMappingInfo.getPathPatternsCondition()orRequestMappingInfo.getPatternsCondition()depending on which is not null.RequestMappingInfo.getCustomCondition()Return the "custom" condition of thisRequestMappingInfo, ornull.Methods in org.springframework.web.servlet.mvc.method with parameters of type RequestConditionModifier and TypeMethodDescriptionRequestMappingInfo.addCustomCondition(RequestCondition<?> customCondition) Create a new instance based on the current one, also adding the given custom condition.RequestMappingInfo.Builder.customCondition(RequestCondition<?> condition) Set a custom condition to use.Constructors in org.springframework.web.servlet.mvc.method with parameters of type RequestConditionModifierConstructorDescriptionRequestMappingInfo(@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.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).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.as of 5.3 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(RequestMappingInfo info, @Nullable RequestCondition<?> customRequestCondition) Deprecated.since 5.3 in favor of usingRequestMappingInfo.addCustomCondition(RequestCondition).
- 
Uses of RequestCondition in org.springframework.web.servlet.mvc.method.annotationMethods in org.springframework.web.servlet.mvc.method.annotation that return RequestConditionModifier and TypeMethodDescriptionprotected @Nullable RequestCondition<?> RequestMappingHandlerMapping.getCustomMethodCondition(Method method) Provide a custom method-level request condition.protected @Nullable RequestCondition<?> RequestMappingHandlerMapping.getCustomTypeCondition(Class<?> handlerType) Provide a custom type-level request condition.Methods in org.springframework.web.servlet.mvc.method.annotation with parameters of type RequestConditionModifier and TypeMethodDescriptionprotected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping requestMapping, @Nullable RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@RequestMappingannotation, meta-annotation, or synthesized result of merging annotation attributes within an annotation hierarchy.protected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(HttpExchange httpExchange, @Nullable RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@HttpExchangeannotation, meta-annotation, or synthesized result of merging annotation attributes within an annotation hierarchy.
PathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.