类的使用
org.springframework.web.HttpRequestMethodNotSupportedException
使用HttpRequestMethodNotSupportedException的程序包 程序包 说明 org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.servlet.mvc.method.annotation中HttpRequestMethodNotSupportedException的使用
参数类型为HttpRequestMethodNotSupportedException的org.springframework.web.servlet.mvc.method.annotation中的方法 修饰符和类型 方法 说明 protected ResponseEntity<Object>
ResponseEntityExceptionHandler. handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpHeaders headers, HttpStatus status, WebRequest request)
Customize the response for HttpRequestMethodNotSupportedException.org.springframework.web.servlet.mvc.support中HttpRequestMethodNotSupportedException的使用
参数类型为HttpRequestMethodNotSupportedException的org.springframework.web.servlet.mvc.support中的方法 修饰符和类型 方法 说明 protected ModelAndView
DefaultHandlerExceptionResolver. handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpServletRequest request, HttpServletResponse response, Object handler)
Handle the case where no request handler method was found for the particular HTTP request method.