Package javax.servlet

Class HttpMethodConstraintElement

    • Constructor Detail

      • HttpMethodConstraintElement

        public HttpMethodConstraintElement​(String methodName)
        Constructor.
        Parameters:
        methodName - the HTTP method name.
      • HttpMethodConstraintElement

        public HttpMethodConstraintElement​(String methodName,
                                           HttpConstraintElement constraint)
        Constructor.
        Parameters:
        methodName - the HTTP method name.
        constraint - the constraint.
    • Method Detail

      • getMethodName

        public String getMethodName()
        Get the HTTP method name.
        Returns:
        the HTTP method name