Package javax.servlet

Class ServletSecurityElement


  • public class ServletSecurityElement
    extends HttpConstraintElement
    The ServletSecurityElement API.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • 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.