类 PortletRequestMethodNotSupportedException

    • 构造器详细资料

      • PortletRequestMethodNotSupportedException

        public PortletRequestMethodNotSupportedException​(String method,
                                                         String[] supportedMethods)
        Create a new PortletRequestMethodNotSupportedException.
        参数:
        method - the unsupported HTTP request method
        supportedMethods - the actually supported HTTP methods
      • PortletRequestMethodNotSupportedException

        public PortletRequestMethodNotSupportedException​(String[] supportedMethods)
        Create a new PortletRequestMethodNotSupportedException.
        参数:
        supportedMethods - the actually supported HTTP methods
    • 方法详细资料

      • getMethod

        public String getMethod()
        Return the HTTP request method that caused the failure.