Uses of Interface
org.springframework.web.reactive.result.condition.RequestCondition
Packages that use RequestCondition
Package
Description
RequestCondition
and implementations for matching requests based on different criteria.Infrastructure for handler method processing.
Infrastructure for annotation-based handler method processing.
-
Uses of RequestCondition in org.springframework.web.reactive.result.condition
Classes in org.springframework.web.reactive.result.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.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.Methods in org.springframework.web.reactive.result.condition that return RequestConditionModifier and TypeMethodDescriptionRequestConditionHolder.getCondition()Return the held request condition, ornullif not holding one.Methods in org.springframework.web.reactive.result.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.reactive.result.condition with parameters of type RequestConditionModifierConstructorDescriptionCompositeRequestCondition(RequestCondition<?>... requestConditions) Create an instance with 0 or moreRequestConditiontypes.RequestConditionHolder(RequestCondition<?> requestCondition) Create a new holder to wrap the given request condition. -
Uses of RequestCondition in org.springframework.web.reactive.result.method
Classes in org.springframework.web.reactive.result.method that implement RequestConditionMethods in org.springframework.web.reactive.result.method that return RequestConditionModifier and TypeMethodDescriptionRequestMappingInfo.getCustomCondition()Returns the "custom" condition of thisRequestMappingInfo; ornull.Methods in org.springframework.web.reactive.result.method with parameters of type RequestConditionModifier and TypeMethodDescriptionRequestMappingInfo.Builder.customCondition(RequestCondition<?> condition) Set a custom condition to use.Constructors in org.springframework.web.reactive.result.method with parameters of type RequestConditionModifierConstructorDescriptionRequestMappingInfo(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.4 in favor usingRequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).RequestMappingInfo(RequestMappingInfo info, RequestCondition<?> customRequestCondition) Deprecated.since 5.3.4 in favor of using aRequestMappingInfo.BuilderviaRequestMappingInfo.mutate(). -
Uses of RequestCondition in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation that return RequestConditionModifier and TypeMethodDescriptionprotected RequestCondition<?>RequestMappingHandlerMapping.getCustomMethodCondition(Method method) Protected method to provide a custom method-level request condition.protected RequestCondition<?>RequestMappingHandlerMapping.getCustomTypeCondition(Class<?> handlerType) Protected method to provide a custom type-level request condition.Methods in org.springframework.web.reactive.result.method.annotation with parameters of type RequestConditionModifier and TypeMethodDescriptionprotected RequestMappingInfoRequestMappingHandlerMapping.createRequestMappingInfo(RequestMapping requestMapping, 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, RequestCondition<?> customCondition) Create aRequestMappingInfofrom the supplied@HttpExchangeannotation, meta-annotation, or synthesized result of merging annotation attributes within an annotation hierarchy.
RequestMappingInfo.BuilderviaRequestMappingInfo.paths(String...).