ServletRegistration.Dynamic (Apache Tomcat 7.0.108 API Documentation)

javax.servlet

## Interface ServletRegistration.Dynamic

- All Superinterfaces:
    Registration, Registration.Dynamic, ServletRegistration
  All Known Implementing Classes:
    ApplicationServletRegistration
  Enclosing interface:
    ServletRegistration

      public static interface ServletRegistration.Dynamic
      extends ServletRegistration, Registration.Dynamic

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface javax.servlet.ServletRegistration

      `ServletRegistration.Dynamic`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setLoadOnStartup(int loadOnStartup)`
    `void` | `setMultipartConfig(MultipartConfigElement multipartConfig)`
    `void` | `setRunAsRole(String roleName)`
    `Set<String>` | `setServletSecurity(ServletSecurityElement constraint)`

    - ### Methods inherited from interface javax.servlet.ServletRegistration

      `addMapping, getMappings, getRunAsRole`

    - ### Methods inherited from interface javax.servlet.Registration.Dynamic

      `setAsyncSupported`

    - ### Methods inherited from interface javax.servlet.Registration

      `getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters`

- - ### Method Detail

    - #### setLoadOnStartup

          void setLoadOnStartup(int loadOnStartup)

    - #### setMultipartConfig

          void setMultipartConfig(MultipartConfigElement multipartConfig)

    - #### setRunAsRole

          void setRunAsRole(String roleName)

    - #### setServletSecurity

          Set<String> setServletSecurity(ServletSecurityElement constraint)

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.