Class RestRequestMatcher
java.lang.Object
com.erudika.para.server.security.RestRequestMatcher
Rest request matcher - returns true if the request is RESTful.
True if the URI starts with /vX.Y.Z (.Y.Z are optional)
- Author:
- Alex Bogdanovski [[email protected]]
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.security.web.util.matcher.RequestMatcherAn instance of this class.static final org.springframework.security.web.util.matcher.RequestMatcherAn instance of this class. -
Method Summary
-
Field Details
-
INSTANCE
public static final org.springframework.security.web.util.matcher.RequestMatcher INSTANCEAn instance of this class. Does not match /v1/_me. -
INSTANCE_STRICT
public static final org.springframework.security.web.util.matcher.RequestMatcher INSTANCE_STRICTAn instance of this class. Matches /v1/_me.
-
-
Method Details
-
matches
public boolean matches(jakarta.servlet.http.HttpServletRequest request) -
matcher
default org.springframework.security.web.util.matcher.RequestMatcher.MatchResult matcher(jakarta.servlet.http.HttpServletRequest arg0)
-