Class ServletMapping


  • @ManagedObject("Servlet Mapping")
    public class ServletMapping
    extends java.lang.Object
    • Constructor Detail

      • ServletMapping

        public ServletMapping()
      • ServletMapping

        public ServletMapping​(Source source)
    • Method Detail

      • setPathSpecs

        public void setPathSpecs​(java.lang.String[] pathSpecs)
        Parameters:
        pathSpecs - The pathSpecs to set.
      • containsPathSpec

        public boolean containsPathSpec​(java.lang.String pathSpec)
        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)
        Parameters:
        pathSpec - The pathSpec to set.
      • setServletName

        public void setServletName​(java.lang.String servletName)
        Parameters:
        servletName - The servletName to set.
      • setDefault

        public void setDefault​(boolean fromDefault)
      • getSource

        public Source getSource()
      • toString

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

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