org.eclipse.jetty.servlet
类 ServletMapping
java.lang.Object
org.eclipse.jetty.servlet.ServletMapping
public class ServletMapping
- extends Object
ServletMapping
public ServletMapping()
getPathSpecs
public String[] getPathSpecs()
- 返回:
- Returns the pathSpecs.
getServletName
public String getServletName()
- 返回:
- Returns the servletName.
setPathSpecs
public void setPathSpecs(String[] pathSpecs)
- 参数:
pathSpecs - The pathSpecs to set.
setPathSpec
public void setPathSpec(String pathSpec)
- 参数:
pathSpec - The pathSpec to set.
setServletName
public void setServletName(String servletName)
- 参数:
servletName - The servletName to set.
isDefault
public boolean isDefault()
- 返回:
setDefault
public void setDefault(boolean fromDefault)
- 参数:
default1 -
toString
public String toString()
- 覆盖:
- 类
Object 中的 toString
dump
public void dump(Appendable out,
String indent)
throws IOException
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.