Class UnauthorizedException

All Implemented Interfaces:
Serializable

public class UnauthorizedException extends HttpException
When the request was valid, but did not pass authentication. (only covers auth, not authz! Use something like 403 or 404 for authz)
See Also:
  • Constructor Details

    • UnauthorizedException

      public UnauthorizedException()
    • UnauthorizedException

      public UnauthorizedException(String message)
  • Method Details

    • getStatus

      public io.netty.handler.codec.http.HttpResponseStatus getStatus()
      Specified by:
      getStatus in class HttpException