Example usage for Java javax.servlet ServletRegistration fields, constructors, methods, implement or subclass
The text is from its open source code.
Set | addMapping(String... urlPatterns) Adds a servlet mapping with the given URL patterns for the Servlet represented by this ServletRegistration. |
String | getClassName() Gets the fully qualified class name of the Servlet or Filter that is represented by this Registration. |
String | getInitParameter(String name) Gets the value of the initialization parameter with the given name that will be used to initialize the Servlet or Filter represented by this Registration object. |
Collection | getMappings() Gets the currently available mappings of the Servlet represented by this ServletRegistration . |
boolean | setInitParameter(String name, String value) Sets the initialization parameter with the given name and value on the Servlet or Filter that is represented by this Registration. |
Set | setInitParameters(Map Sets the given initialization parameters on the Servlet or Filter that is represented by this Registration. |