Package org.eclipse.jetty.servlet
Class ServletMapping
java.lang.Object
org.eclipse.jetty.servlet.ServletMapping
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPathSpec(String pathSpec) Test if the list of path specs contains a particular one.voiddump(Appendable out, String indent) String[]booleanvoidsetFromDefaultDescriptor(boolean fromDefault) voidsetPathSpec(String pathSpec) voidsetPathSpecs(String[] pathSpecs) voidsetServletName(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
-