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:
    Serialized Form
    • Constructor Detail

      • UnauthorizedException

        public UnauthorizedException()
      • UnauthorizedException

        public UnauthorizedException​(String message)
    • Method Detail

      • getStatus

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