Class ConditionalHandler.Reject

All Implemented Interfaces:
Handler, Handler.Container, Handler.Singleton, Request.Handler, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, Invocable
Enclosing class:
ConditionalHandler

public static class ConditionalHandler.Reject extends ConditionalHandler.ElseNext
An implementation of ConditionalHandler that, if conditions are met, will reject the request by sending a response (by default a HttpStatus.FORBIDDEN_403). Otherwise, the next handler will be invoked.