MappedInterceptor.
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private final HandlerInterceptor | |
| private int | |
| private PathMatcher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public InterceptorRegistration | addPathPatterns(String... patterns)
Add patterns for URLs the interceptor should be included in. For pattern syntax see |
| public InterceptorRegistration | |
| public InterceptorRegistration | excludePathPatterns(String... patterns)
Add patterns for URLs the interceptor should be excluded from. |
| public InterceptorRegistration | |
| protected Object | |
| protected int | |
| public InterceptorRegistration | |
| public InterceptorRegistration | pathMatcher(PathMatcher pathMatcher)
Configure the PathMatcher to use to match URL paths with against include and exclude patterns. |
| excludePatterns | back to summary |
|---|---|
| private List<String> excludePatterns
| |
| includePatterns | back to summary |
|---|---|
| private List<String> includePatterns
| |
| interceptor | back to summary |
|---|---|
| private final HandlerInterceptor interceptor | |
| order | back to summary |
|---|---|
| private int order | |
| pathMatcher | back to summary |
|---|---|
| private PathMatcher pathMatcher
| |
| InterceptorRegistration | back to summary |
|---|---|
| public InterceptorRegistration(HandlerInterceptor interceptor) Create an | |
| addPathPatterns | back to summary |
|---|---|
| public InterceptorRegistration addPathPatterns(String... patterns) Add patterns for URLs the interceptor should be included in. For pattern syntax see | |
| addPathPatterns | back to summary |
|---|---|
| public InterceptorRegistration addPathPatterns(List<String> patterns) List-based variant of
| |
| excludePathPatterns | back to summary |
|---|---|
| public InterceptorRegistration excludePathPatterns(String... patterns) Add patterns for URLs the interceptor should be excluded from. For pattern syntax see | |
| excludePathPatterns | back to summary |
|---|---|
| public InterceptorRegistration excludePathPatterns(List<String> patterns) List-based variant of
| |
| getInterceptor | back to summary |
|---|---|
| protected Object getInterceptor() Build the underlying interceptor. If URL patterns are provided, the returned
type is | |
| getOrder | back to summary |
|---|---|
| protected int getOrder() Return the order position to be used. | |
| order | back to summary |
|---|---|
| public InterceptorRegistration order(int order) Specify an order position to be used. Default is 0.
| |
| pathMatcher | back to summary |
|---|---|
| public InterceptorRegistration pathMatcher(PathMatcher pathMatcher) Configure the PathMatcher to use to match URL paths with against include and exclude patterns. This is an advanced property that should be used only when a
customized By default this is Note Setting | |