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 Details

    • ServletMapping

      public ServletMapping()
      Deprecated.
    • ServletMapping

      public ServletMapping(Source source)
      Deprecated.
  • Method Details

    • 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.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • dump

      public void dump(Appendable out, String indent) throws IOException
      Deprecated.
      Throws:
      IOException