Package org.eclipse.jetty.servlet
Class ServletMapping
java.lang.Object
org.eclipse.jetty.servlet.ServletMapping
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsPathSpec
(String pathSpec) Test if the list of path specs contains a particular one.void
dump
(Appendable out, String indent) String[]
boolean
void
setDefault
(boolean fromDefault) void
setPathSpec
(String pathSpec) void
setPathSpecs
(String[] pathSpecs) void
setServletName
(String servletName) toString()
-
Field Details
-
_pathSpecs
-
_servletName
-
_default
private boolean _default -
_source
-
-
Constructor Details
-
ServletMapping
public ServletMapping() -
ServletMapping
-
-
Method Details
-
getPathSpecs
- Returns:
- Returns the pathSpecs.
-
getServletName
- Returns:
- Returns the servletName.
-
setPathSpecs
- Parameters:
pathSpecs
- The pathSpecs to set.
-
containsPathSpec
Test if the list of path specs contains a particular one.- Parameters:
pathSpec
- the path spec- Returns:
- true if path spec matches something in mappings
-
setPathSpec
- Parameters:
pathSpec
- The pathSpec to set.
-
setServletName
- Parameters:
servletName
- The servletName to set.
-
isDefault
-
setDefault
public void setDefault(boolean fromDefault) -
getSource
-
toString
-
dump
- Throws:
IOException
-