Class UpgradeRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.vertx.core.VertxException
io.vertx.core.http.UpgradeRejectedException
- All Implemented Interfaces:
Serializable
- Author:
- Julien Viet
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeRejectedException(String message, int status, MultiMap headers, Buffer content) -
Method Summary
Methods inherited from class VertxException
noStackTrace, noStackTrace, noStackTraceMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UpgradeRejectedException
-
-
Method Details
-
getStatus
public int getStatus()- Returns:
- the status code of the response that rejected the upgrade
-
getHeaders
- Returns:
- the headers of the response that rejected the upgrade
-
getBody
- Returns:
- the body of the response that rejected the upgrade
-