Class ServletMapping


  • @ManagedObject("Servlet Mapping")
    @Deprecated(since="2021-05-27")
    public class ServletMapping
    extends java.lang.Object
    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.
      • setDefault

        public void setDefault​(boolean fromDefault)
        Deprecated.
      • getSource

        public Source getSource()
        Deprecated.
      • toString

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

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