public final class Handlers
extends Object
Provides commonly used handler implementations.
-
Field Summary
Fields
A default
Handler
implementation that returns an empty (400 Bad Request)
Response
.
A default
Handler
implementation that returns an empty (403 Forbidden)
Response
.
A default
Handler
implementation that returns an empty (500 Internal Server Error)
Response
.
A default
Handler
implementation that returns an empty (204 No Content)
Response
.
A default
Handler
implementation that returns an empty (401 Unauthorized)
Response
.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
FORBIDDEN
public static final Handler FORBIDDEN
A default
Handler
implementation that returns an empty (403 Forbidden)
Response
.
-
UNAUTHORIZED
public static final Handler UNAUTHORIZED
A default
Handler
implementation that returns an empty (401 Unauthorized)
Response
.
-
NO_CONTENT
public static final Handler NO_CONTENT
A default
Handler
implementation that returns an empty (204 No Content)
Response
.
-
INTERNAL_SERVER_ERROR
public static final Handler INTERNAL_SERVER_ERROR
A default
Handler
implementation that returns an empty (500 Internal Server Error)
Response
.
-
BAD_REQUEST
public static final Handler BAD_REQUEST
A default
Handler
implementation that returns an empty (400 Bad Request)
Response
.