Class UpgradeException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated(since="2021-05-27")
    public class UpgradeException
    extends WebSocketException
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    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)
      Deprecated.
       
      UpgradeException​(java.net.URI requestURI, int responseStatusCode, java.lang.String message, java.lang.Throwable cause)
      Deprecated.
       
      UpgradeException​(java.net.URI requestURI, java.lang.Throwable cause)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.net.URI getRequestURI()
      Deprecated.
       
      int getResponseStatusCode()
      Deprecated.
       
      • 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

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

      • UpgradeException

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

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

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

      • getRequestURI

        public java.net.URI getRequestURI()
        Deprecated.
      • getResponseStatusCode

        public int getResponseStatusCode()
        Deprecated.