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 java.lang.Object
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ServletMapping()
Deprecated.ServletMapping(Source source)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsPathSpec(java.lang.String pathSpec)
Deprecated.Test if the list of path specs contains a particular one.void
dump(java.lang.Appendable out, java.lang.String indent)
Deprecated.java.lang.String[]
getPathSpecs()
Deprecated.java.lang.String
getServletName()
Deprecated.Source
getSource()
Deprecated.boolean
isDefault()
Deprecated.void
setDefault(boolean fromDefault)
Deprecated.void
setPathSpec(java.lang.String pathSpec)
Deprecated.void
setPathSpecs(java.lang.String[] pathSpecs)
Deprecated.void
setServletName(java.lang.String servletName)
Deprecated.java.lang.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
ServletMapping
public ServletMapping()
Deprecated.
-
ServletMapping
public ServletMapping(Source source)
Deprecated.
-
-
Method Detail
-
getPathSpecs
@ManagedAttribute(value="url patterns", readonly=true) public java.lang.String[] getPathSpecs()
Deprecated.- Returns:
- Returns the pathSpecs.
-
getServletName
@ManagedAttribute(value="servlet name", readonly=true) public java.lang.String getServletName()
Deprecated.- Returns:
- Returns the servletName.
-
setPathSpecs
public void setPathSpecs(java.lang.String[] pathSpecs)
Deprecated.- Parameters:
pathSpecs
- The pathSpecs to set.
-
containsPathSpec
public boolean containsPathSpec(java.lang.String pathSpec)
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
public void setPathSpec(java.lang.String pathSpec)
Deprecated.- Parameters:
pathSpec
- The pathSpec to set.
-
setServletName
public void setServletName(java.lang.String servletName)
Deprecated.- Parameters:
servletName
- The servletName to set.
-
isDefault
@ManagedAttribute(value="default", readonly=true) public boolean isDefault()
Deprecated.
-
setDefault
public void setDefault(boolean fromDefault)
Deprecated.
-
getSource
public Source getSource()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
dump
public void dump(java.lang.Appendable out, java.lang.String indent) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-