Package org.yamcs.http
Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.yamcs.http.HttpException
org.yamcs.http.UnauthorizedException
- All Implemented Interfaces:
Serializable
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 Summary
-
Method Summary
Methods inherited from class org.yamcs.http.HttpException
getDetail, isServerError, setDetail, toMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnauthorizedException
public UnauthorizedException() -
UnauthorizedException
-
-
Method Details
-
getStatus
public io.netty.handler.codec.http.HttpResponseStatus getStatus()- Specified by:
getStatus
in classHttpException
-