类 HttpRequestMethodNotSupportedException

    • 构造器详细资料

      • HttpRequestMethodNotSupportedException

        public HttpRequestMethodNotSupportedException​(String method,
                                                      Collection<String> supportedMethods)
        Create a new HttpRequestMethodNotSupportedException.
        参数:
        method - the unsupported HTTP request method
        supportedMethods - the actually supported HTTP methods (may be null)
      • HttpRequestMethodNotSupportedException

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

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