Package org.eclipse.jetty.servlet
Class ServletMapping
java.lang.Object
org.eclipse.jetty.servlet.ServletMapping
@ManagedObject("Servlet Mapping")
@Deprecated(since="2021-05-27")
public class ServletMapping
extends Object
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPathSpec(String pathSpec) Deprecated.Test if the list of path specs contains a particular one.voiddump(Appendable out, String indent) Deprecated.String[]Deprecated.Deprecated.Deprecated.booleanDeprecated.voidsetDefault(boolean fromDefault) Deprecated.voidsetPathSpec(String pathSpec) Deprecated.voidsetPathSpecs(String[] pathSpecs) Deprecated.voidsetServletName(String servletName) Deprecated.toString()Deprecated.
-
Constructor Details
-
ServletMapping
public ServletMapping()Deprecated. -
ServletMapping
Deprecated.
-
-
Method Details
-
getPathSpecs
Deprecated.- Returns:
- Returns the pathSpecs.
-
getServletName
Deprecated.- Returns:
- Returns the servletName.
-
setPathSpecs
Deprecated.- Parameters:
pathSpecs- The pathSpecs to set.
-
containsPathSpec
Deprecated.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
Deprecated.- Parameters:
pathSpec- The pathSpec to set.
-
setServletName
Deprecated.- Parameters:
servletName- The servletName to set.
-
isDefault
Deprecated. -
setDefault
public void setDefault(boolean fromDefault) Deprecated. -
getSource
Deprecated. -
toString
Deprecated. -
dump
Deprecated.- Throws:
IOException
-