Interface ServletRegistration

All Superinterfaces:
Registration
All Known Subinterfaces:
ServletEnvironment, ServletRegistration.Dynamic
All Known Implementing Classes:
DefaultServletEnvironment

public interface ServletRegistration extends Registration
The ServletRegistration API.
Author:
Manfred Riem ([email protected])
  • Method Details

    • addMapping

      Set<String> addMapping(String... urlPatterns)
      Add a mapping.
      Parameters:
      urlPatterns - the URL patterns.
      Returns:
      the patterns that were already mapped before.
    • getMappings

      Collection<String> getMappings()
      Returns the mappings.
      Returns:
      the mappings
    • getRunAsRole

      String getRunAsRole()
      Returns the run as role.
      Returns:
      the run as role