Class JerseyRequestMatcherProvider
- java.lang.Object
- org.springframework.boot.autoconfigure.security.servlet.JerseyRequestMatcherProvider
- All Implemented Interfaces:
RequestMatcherProvider
public class JerseyRequestMatcherProvider extends Object implements RequestMatcherProvider
RequestMatcherProvider
that provides anAntPathRequestMatcher
that can be used for Jersey applications.- Since:
- 2.0.7
Constructor Summary
Constructors Constructor Description JerseyRequestMatcherProvider(JerseyApplicationPath jerseyApplicationPath)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.web.util.matcher.RequestMatcher
getRequestMatcher(String pattern)
Return theRequestMatcher
to be used for the specified pattern.
Constructor Detail
JerseyRequestMatcherProvider
public JerseyRequestMatcherProvider(JerseyApplicationPath jerseyApplicationPath)
Method Detail
getRequestMatcher
public org.springframework.security.web.util.matcher.RequestMatcher getRequestMatcher(String pattern)
Description copied from interface:RequestMatcherProvider
Return theRequestMatcher
to be used for the specified pattern.- Specified by:
getRequestMatcher
in interfaceRequestMatcherProvider
- Parameters:
pattern
- the request pattern- Returns:
- a request matcher