Class UpgradeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UpgradeException
    extends WebSocketException
    Exception during WebSocket Upgrade Handshake.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UpgradeException​(java.net.URI requestURI, int responseStatusCode, java.lang.String message)  
      UpgradeException​(java.net.URI requestURI, int responseStatusCode, java.lang.String message, java.lang.Throwable cause)  
      UpgradeException​(java.net.URI requestURI, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI getRequestURI()  
      int getResponseStatusCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UpgradeException

        public UpgradeException​(java.net.URI requestURI,
                                int responseStatusCode,
                                java.lang.String message)
      • UpgradeException

        public UpgradeException​(java.net.URI requestURI,
                                int responseStatusCode,
                                java.lang.String message,
                                java.lang.Throwable cause)
      • UpgradeException

        public UpgradeException​(java.net.URI requestURI,
                                java.lang.Throwable cause)
    • Method Detail

      • getRequestURI

        public java.net.URI getRequestURI()
      • getResponseStatusCode

        public int getResponseStatusCode()