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 TypeMethodDescriptionboolean
containsPathSpec
(String pathSpec) Deprecated.Test if the list of path specs contains a particular one.void
dump
(Appendable out, String indent) Deprecated.String[]
Deprecated.Deprecated.Deprecated.boolean
Deprecated.void
setDefault
(boolean fromDefault) Deprecated.void
setPathSpec
(String pathSpec) Deprecated.void
setPathSpecs
(String[] pathSpecs) Deprecated.void
setServletName
(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
-