Package javax.servlet

Interface ServletRegistration

    • Method Detail

      • 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()
        Get the mappings.
        Returns:
        the mappings.
      • getRunAsRole

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