public final class RequestPredicateFactories extends Object
public static RequestPredicate GET()
public static RequestPredicate POST()
public static RequestPredicate HEAD()
public static RequestPredicate PUT()
public static RequestPredicate PATCH()
public static RequestPredicate DELETE()
public static RequestPredicate OPTIONS()
public static RequestPredicate TRACE()
public static RequestPredicate methodMatches(org.springframework.http.HttpMethod... methods)
public static RequestPredicate hasParameter(String parameterName)
public static RequestPredicate parameterValueRegexMatches(String parameterName, String parameterValueRegex)
public static RequestPredicate hasAttribute(String attributeName)
public static RequestPredicate attributeValueRegexMatches(String attributeName, String attributeValueRegex)
public static RequestPredicate pathAntStyleMatches(String pattern)
public static RequestPredicate pathRegexMatches(String regex)
public static RequestPredicate hasHeader(String headerName)
public static RequestPredicate headerValueRegexMatches(String headerName, String headerValueRegex)
public static RequestPredicate contextPathRegexMatches(String contextPathPattern)
public static RequestPredicate isSecure()
public static RequestPredicate localeMatches(Locale locale)
public static RequestPredicate delegating(Predicate<javax.servlet.http.HttpServletRequest> predicate)
public static RequestPredicate alwaysTrue()
public static RequestPredicate alwaysFalse()
public static RequestPredicate not(RequestPredicate predicate)
public static RequestPredicate any(RequestPredicate... predicates)
public static RequestPredicate all(RequestPredicate... predicates)
public static RequestPredicate or(RequestPredicate p1, RequestPredicate p2)
public static RequestPredicate and(RequestPredicate p1, RequestPredicate p2)
Copyright © 2022. All rights reserved.