public final class

MappedInterceptor

extends Object
java.lang.Object
   ↳ org.springframework.web.servlet.handler.MappedInterceptor

Class Overview

Holds information about a HandlerInterceptor mapped to a path into the application.

Summary

Public Constructors
MappedInterceptor(String[] pathPatterns, HandlerInterceptor interceptor)
Create a new mapped interceptor.
MappedInterceptor(String[] pathPatterns, WebRequestInterceptor interceptor)
Create a new mapped interceptor.
Public Methods
HandlerInterceptor getInterceptor()
The actual Interceptor reference.
String[] getPathPatterns()
The path into the application the interceptor is mapped to.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MappedInterceptor (String[] pathPatterns, HandlerInterceptor interceptor)

Create a new mapped interceptor.

Parameters
pathPatterns the path patterns
interceptor the interceptor

public MappedInterceptor (String[] pathPatterns, WebRequestInterceptor interceptor)

Create a new mapped interceptor.

Parameters
pathPatterns the path patterns
interceptor the interceptor

Public Methods

public HandlerInterceptor getInterceptor ()

The actual Interceptor reference.

public String[] getPathPatterns ()

The path into the application the interceptor is mapped to.