Class ConditionalHandler.Reject

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
All Implemented Interfaces:
Handler, Handler.Container, Handler.Singleton, Request.Handler, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.LifeCycle, org.eclipse.jetty.util.thread.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.