Package javax.servlet

Class ServletSecurityElement

    • Constructor Detail

      • ServletSecurityElement

        public ServletSecurityElement()
        Constructor.
      • ServletSecurityElement

        public ServletSecurityElement​(HttpConstraintElement constraint)
        Constructor.
        Parameters:
        constraint - the constraint.
      • ServletSecurityElement

        public ServletSecurityElement​(Collection<HttpMethodConstraintElement> methodConstraints)
        Constructor.
        Parameters:
        methodConstraints - the method constraints.
      • ServletSecurityElement

        public ServletSecurityElement​(ServletSecurity annotation)
        Constructor.
        Parameters:
        annotation - the annotation.
    • Method Detail

      • getMethodNames

        public Collection<String> getMethodNames()
        Get the method names.
        Returns:
        the method names.