Uses of Interface
org.springframework.web.servlet.mvc.condition.RequestCondition
Packages that use RequestCondition Package Description org.springframework.web.servlet.mvc.condition Common MVC logic for matching incoming requests based on conditions.org.springframework.web.servlet.mvc.method Servlet-based infrastructure for handler method processing, building on theorg.springframework.web.methodpackage.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotationpackage.Uses of RequestCondition in org.springframework.web.servlet.mvc.condition
Classes in org.springframework.web.servlet.mvc.condition that implement RequestCondition Modifier and Type Class Description classAbstractRequestCondition<T extends AbstractRequestCondition<T>>A base class forRequestConditiontypes providing implementations ofAbstractRequestCondition.equals(Object),AbstractRequestCondition.hashCode(), andAbstractRequestCondition.toString().classCompositeRequestConditionImplements theRequestConditioncontract by delegating to multipleRequestConditiontypes and using a logical conjunction (' && ') to ensure all conditions match a given request.classConsumesRequestConditionA logical disjunction (' || ') request condition to match a request's 'Content-Type' header to a list of media type expressions.classHeadersRequestConditionA logical conjunction (' && ') request condition that matches a request against a set of header expressions with syntax defined inRequestMapping.headers().classParamsRequestConditionA logical conjunction (' && ') request condition that matches a request against a set parameter expressions with syntax defined inRequestMapping.params().classPatternsRequestConditionA logical disjunction (' || ') request condition that matches a request against a set of URL path patterns.classProducesRequestConditionA logical disjunction (' || ') request condition to match a request's 'Accept' header to a list of media type expressions.classRequestConditionHolderA holder for aRequestConditionuseful when the type of the request condition is not known ahead of time, e.g.classRequestMethodsRequestConditionA logical disjunction (' || ') request condition that matches a request against a set ofRequestMethods.Methods in org.springframework.web.servlet.mvc.condition that return RequestCondition Modifier and Type Method Description RequestCondition<?>RequestConditionHolder. 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 RequestCondition Modifier and Type Method Description List<RequestCondition<?>>CompositeRequestCondition. getConditions()Return the underlying conditions (possibly empty but nevernull).Constructors in org.springframework.web.servlet.mvc.condition with parameters of type RequestCondition Constructor Description CompositeRequestCondition(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.servlet.mvc.method
Classes in org.springframework.web.servlet.mvc.method that implement RequestCondition Modifier and Type Class Description classRequestMappingInfoRequest mapping information.Methods in org.springframework.web.servlet.mvc.method that return RequestCondition Modifier and Type Method Description RequestCondition<?>RequestMappingInfo. getCustomCondition()Return the "custom" condition of thisRequestMappingInfo, ornull.Methods in org.springframework.web.servlet.mvc.method with parameters of type RequestCondition Modifier and Type Method Description RequestMappingInfo.BuilderRequestMappingInfo.Builder. customCondition(RequestCondition<?> condition)Set a custom condition to use.Constructors in org.springframework.web.servlet.mvc.method with parameters of type RequestCondition Constructor Description RequestMappingInfo(String name, PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom)RequestMappingInfo(PatternsRequestCondition patterns, RequestMethodsRequestCondition methods, ParamsRequestCondition params, HeadersRequestCondition headers, ConsumesRequestCondition consumes, ProducesRequestCondition produces, RequestCondition<?> custom)Creates a new instance with the given request conditions.RequestMappingInfo(RequestMappingInfo info, RequestCondition<?> customRequestCondition)Re-create a RequestMappingInfo with the given custom request condition.Uses of RequestCondition in org.springframework.web.servlet.mvc.method.annotation
Methods in org.springframework.web.servlet.mvc.method.annotation that return RequestCondition Modifier and Type Method Description protected RequestCondition<?>RequestMappingHandlerMapping. getCustomMethodCondition(Method method)Provide a custom method-level request condition.protected 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 RequestCondition Modifier and Type Method Description protected RequestMappingInfoRequestMappingHandlerMapping. createRequestMappingInfo(RequestMapping requestMapping, RequestCondition<?> customCondition)Create aRequestMappingInfofrom the supplied@RequestMappingannotation, which is either a directly declared annotation, a meta-annotation, or the synthesized result of merging annotation attributes within an annotation hierarchy.