|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.servlet.Holder.HolderRegistration
org.eclipse.jetty.servlet.FilterHolder.Registration
protected class FilterHolder.Registration
| 嵌套类摘要 |
|---|
| 从接口 javax.servlet.FilterRegistration 继承的嵌套类/接口 |
|---|
FilterRegistration.Dynamic |
| 构造方法摘要 | |
|---|---|
protected |
FilterHolder.Registration()
|
| 方法摘要 | |
|---|---|
void |
addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes,
boolean isMatchAfter,
String... servletNames)
Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration. |
void |
addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes,
boolean isMatchAfter,
String... urlPatterns)
Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration. |
Collection<String> |
getServletNameMappings()
Gets the currently available servlet name mappings of the Filter represented by this FilterRegistration. |
Collection<String> |
getUrlPatternMappings()
Gets the currently available URL pattern mappings of the Filter represented by this FilterRegistration. |
| 从类 org.eclipse.jetty.servlet.Holder.HolderRegistration 继承的方法 |
|---|
getClassName, getInitParameter, getInitParameters, getName, setAsyncSupported, setDescription, setInitParameter, setInitParameters |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 从接口 javax.servlet.Registration.Dynamic 继承的方法 |
|---|
setAsyncSupported |
| 从接口 javax.servlet.Registration 继承的方法 |
|---|
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters |
| 构造方法详细信息 |
|---|
protected FilterHolder.Registration()
| 方法详细信息 |
|---|
public void addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes,
boolean isMatchAfter,
String... servletNames)
FilterRegistration 复制的描述Filter mappings are matched in the order in which they were added.
Depending on the value of the isMatchAfter parameter, the given filter mapping will be considered after or before any declared filter mappings of the ServletContext from which this FilterRegistration was obtained.
If this method is called multiple times, each successive call adds to the effects of the former.
FilterRegistration 中的 addMappingForServletNamesdispatcherTypes - the dispatcher types of the filter mapping,
or null if the default DispatcherType.REQUEST is to be usedisMatchAfter - true if the given filter mapping should be matched
after any declared filter mappings, and false if it is supposed to
be matched before any declared filter mappings of the ServletContext
from which this FilterRegistration was obtainedservletNames - the servlet names of the filter mapping
public void addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes,
boolean isMatchAfter,
String... urlPatterns)
FilterRegistration 复制的描述Filter mappings are matched in the order in which they were added.
Depending on the value of the isMatchAfter parameter, the given filter mapping will be considered after or before any declared filter mappings of the ServletContext from which this FilterRegistration was obtained.
If this method is called multiple times, each successive call adds to the effects of the former.
FilterRegistration 中的 addMappingForUrlPatternsdispatcherTypes - the dispatcher types of the filter mapping,
or null if the default DispatcherType.REQUEST is to be usedisMatchAfter - true if the given filter mapping should be matched
after any declared filter mappings, and false if it is supposed to
be matched before any declared filter mappings of the ServletContext
from which this FilterRegistration was obtainedurlPatterns - the url patterns of the filter mappingpublic Collection<String> getServletNameMappings()
FilterRegistration 复制的描述FilterRegistration.
If permitted, any changes to the returned Collection must not
affect this FilterRegistration.
FilterRegistration 中的 getServletNameMappingsCollection of the currently
available servlet name mappings of the Filter represented by this
FilterRegistrationpublic Collection<String> getUrlPatternMappings()
FilterRegistration 复制的描述FilterRegistration.
If permitted, any changes to the returned Collection must not
affect this FilterRegistration.
FilterRegistration 中的 getUrlPatternMappingsCollection of the currently
available URL pattern mappings of the Filter represented by this
FilterRegistration
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||