Package com.erudika.para.server.utils
Class RequestNotSupportedExceptionHandler
java.lang.Object
org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
com.erudika.para.server.utils.RequestNotSupportedExceptionHandler
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.MessageSourceAware
@Order(-2147483648)
@ControllerAdvice
public class RequestNotSupportedExceptionHandler
extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
HttpRequestMethodNotSupportedException handler - suppress spammy log messages.
- Author:
- Alex Bogdanovski [[email protected]]
-
Field Summary
Fields inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
PAGE_NOT_FOUND_LOG_CATEGORY -
Constructor Summary
ConstructorsConstructorDescriptionCreates the exception handler that customizes Spring MVC responses. -
Method Summary
Methods inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
handleException, setMessageSource
-
Constructor Details
-
RequestNotSupportedExceptionHandler
public RequestNotSupportedExceptionHandler()Creates the exception handler that customizes Spring MVC responses.
-