クラスの使用
org.springframework.web.server.MethodNotAllowedException
パッケージ
説明
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
org.springframework.web.reactive.result.method.annotation 内の MethodNotAllowedException 使用
修飾子と型メソッド説明protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleMethodNotAllowedException
(MethodNotAllowedException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) MethodNotAllowedException
の処理をカスタマイズします。