org.springframework.web.servlet.handler
Class MappedInterceptor

java.lang.Object
  extended by org.springframework.web.servlet.handler.MappedInterceptor

public final class MappedInterceptor
extends java.lang.Object

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

Since:
3.0
Author:
Keith Donald

Field Summary
private  HandlerInterceptor interceptor
           
private  java.lang.String[] pathPatterns
           
 
Constructor Summary
MappedInterceptor(java.lang.String[] pathPatterns, HandlerInterceptor interceptor)
          Create a new mapped interceptor.
MappedInterceptor(java.lang.String[] pathPatterns, WebRequestInterceptor interceptor)
          Create a new mapped interceptor.
 
Method Summary
 HandlerInterceptor getInterceptor()
          The actual Interceptor reference.
 java.lang.String[] getPathPatterns()
          The path into the application the interceptor is mapped to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pathPatterns

private final java.lang.String[] pathPatterns

interceptor

private final HandlerInterceptor interceptor
Constructor Detail

MappedInterceptor

public MappedInterceptor(java.lang.String[] pathPatterns,
                         HandlerInterceptor interceptor)
Create a new mapped interceptor.

Parameters:
pathPatterns - the path patterns
interceptor - the interceptor

MappedInterceptor

public MappedInterceptor(java.lang.String[] pathPatterns,
                         WebRequestInterceptor interceptor)
Create a new mapped interceptor.

Parameters:
pathPatterns - the path patterns
interceptor - the interceptor
Method Detail

getPathPatterns

public java.lang.String[] getPathPatterns()
The path into the application the interceptor is mapped to.


getInterceptor

public HandlerInterceptor getInterceptor()
The actual Interceptor reference.