Class NotAllowedExceptionHandler

All Implemented Interfaces:
ExceptionHandler<NotAllowedException,HttpResponse<?>>

@Singleton @Produces public class NotAllowedExceptionHandler extends ErrorResponseProcessorExceptionHandler<NotAllowedException>
Handles exception of type NotAllowedException and returns an HTTP 405 (Method Not Allowed) response with the "Allow" HTTP Header populated to the allowed headers.
Since:
4.6.0
Author:
Sergio del Amo