org.eclipse.jetty.servlet
类 FilterMapping
java.lang.Object
org.eclipse.jetty.servlet.FilterMapping
- 所有已实现的接口:
- Dumpable
public class FilterMapping
- extends Object
- implements Dumpable
DEFAULT
public static final int DEFAULT
- Dispatch types
- 另请参见:
- 常量字段值
REQUEST
public static final int REQUEST
- 另请参见:
- 常量字段值
FORWARD
public static final int FORWARD
- 另请参见:
- 常量字段值
INCLUDE
public static final int INCLUDE
- 另请参见:
- 常量字段值
ERROR
public static final int ERROR
- 另请参见:
- 常量字段值
ASYNC
public static final int ASYNC
- 另请参见:
- 常量字段值
ALL
public static final int ALL
- 另请参见:
- 常量字段值
FilterMapping
public FilterMapping()
dispatch
public static DispatcherType dispatch(String type)
- Dispatch type from name
dispatch
public static int dispatch(DispatcherType type)
- Dispatch type from name
getFilterName
public String getFilterName()
- 返回:
- Returns the filterName.
getPathSpecs
public String[] getPathSpecs()
- 返回:
- Returns the pathSpec.
setDispatcherTypes
public void setDispatcherTypes(EnumSet<DispatcherType> dispatcherTypes)
setDispatches
public void setDispatches(int dispatches)
- 参数:
dispatches - The dispatches to set.- 另请参见:
DEFAULT,
REQUEST,
ERROR,
FORWARD,
INCLUDE
setFilterName
public void setFilterName(String filterName)
- 参数:
filterName - The filterName to set.
setPathSpecs
public void setPathSpecs(String[] pathSpecs)
- 参数:
pathSpecs - The Path specifications to which this filter should be mapped.
setPathSpec
public void setPathSpec(String pathSpec)
- 参数:
pathSpec - The pathSpec to set.
getServletNames
public String[] getServletNames()
- 返回:
- Returns the servletName.
setServletNames
public void setServletNames(String[] servletNames)
- 参数:
servletNames - Maps the named filter to multiple servlets- 另请参见:
setServletName(java.lang.String)
setServletName
public void setServletName(String servletName)
- 参数:
servletName - Maps the named filter to a single servlet- 另请参见:
setServletNames(java.lang.String[])
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
dump
public void dump(Appendable out,
String indent)
throws IOException
- 指定者:
- 接口
Dumpable 中的 dump
- 抛出:
IOException
dump
public String dump()
- 指定者:
- 接口
Dumpable 中的 dump
Copyright © 2013. All Rights Reserved.