Class Handlers


  • public final class Handlers
    extends Object
    Provides commonly used handler implementations.
    • Field Detail

      • 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.