Class ServletRegistration


  • public class ServletRegistration
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ServletRegistration​(javax.servlet.Servlet servlet, java.lang.String mapping)  
      ServletRegistration​(javax.servlet.Servlet servlet, java.util.Collection<java.lang.String> mappings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> getMappings()  
      javax.servlet.Servlet getServlet()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServletRegistration

        public ServletRegistration​(javax.servlet.Servlet servlet,
                                   java.lang.String mapping)
      • ServletRegistration

        public ServletRegistration​(javax.servlet.Servlet servlet,
                                   java.util.Collection<java.lang.String> mappings)
    • Method Detail

      • getServlet

        public javax.servlet.Servlet getServlet()
      • getMappings

        public java.util.Collection<java.lang.String> getMappings()