Package org.eclipse.jetty.servlet
Class ServletMapping
java.lang.Object
org.eclipse.jetty.servlet.ServletMapping
-
Constructor Summary
-
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
setFromDefaultDescriptor
(boolean fromDefault) void
setPathSpec
(String pathSpec) void
setPathSpecs
(String[] pathSpecs) void
setServletName
(String servletName) toString()
-
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.
-
isFromDefaultDescriptor
-
setFromDefaultDescriptor
public void setFromDefaultDescriptor(boolean fromDefault) -
getSource
-
toString
-
dump
- Throws:
IOException
-