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 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(String pathSpec)
Deprecated.Test if the list of path specs contains a particular one.void
dump(Appendable out, String indent)
Deprecated.String[]
getPathSpecs()
Deprecated.String
getServletName()
Deprecated.Source
getSource()
Deprecated.boolean
isDefault()
Deprecated.void
setDefault(boolean fromDefault)
Deprecated.void
setPathSpec(String pathSpec)
Deprecated.void
setPathSpecs(String[] pathSpecs)
Deprecated.void
setServletName(String servletName)
Deprecated.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 String[] getPathSpecs()
Deprecated.- Returns:
- Returns the pathSpecs.
-
getServletName
@ManagedAttribute(value="servlet name", readonly=true) public String getServletName()
Deprecated.- Returns:
- Returns the servletName.
-
setPathSpecs
public void setPathSpecs(String[] pathSpecs)
Deprecated.- Parameters:
pathSpecs
- The pathSpecs to set.
-
containsPathSpec
public boolean containsPathSpec(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(String pathSpec)
Deprecated.- Parameters:
pathSpec
- The pathSpec to set.
-
setServletName
public void setServletName(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.
-
dump
public void dump(Appendable out, String indent) throws IOException
Deprecated.- Throws:
IOException
-
-