org.richfaces.webapp

## Class ResourceServletContainerInitializer

- java.lang.Object
- - org.richfaces.webapp.AbstractServletContainerInitializer
  - - org.richfaces.webapp.ResourceServletContainerInitializer

-     public class ResourceServletContainerInitializer
      extends AbstractServletContainerInitializer

  Initializes `ResourceServlet`.

  Initialization can be turned of by "org.richfaces.resources.skipResourceServletRegistration" context parameter.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `RICHFACES_RESOURCES_DEFAULT_MAPPING`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResourceServletContainerInitializer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onStartup(Set<Class<?>> c, javax.servlet.ServletContext servletContext)`

    - ### Methods inherited from class org.richfaces.webapp.AbstractServletContainerInitializer

      `getServletRegistration, hasFilterMapping`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### RICHFACES_RESOURCES_DEFAULT_MAPPING

          public static final String RICHFACES_RESOURCES_DEFAULT_MAPPING

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ResourceServletContainerInitializer

          public ResourceServletContainerInitializer()

  - ### Method Detail

    - #### onStartup

          public void onStartup(Set<Class<?>> c,
                       javax.servlet.ServletContext servletContext)
                         throws javax.servlet.ServletException

      Throws:
        `javax.servlet.ServletException`

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.