Package javax.servlet

Class HttpMethodConstraintElement


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