Class ClientUpgradeRequest

  • All Implemented Interfaces:
    UpgradeRequest

    @Deprecated(since="2021-05-27")
    public class ClientUpgradeRequest
    extends UpgradeRequestAdapter
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Allowing a generate from a UpgradeRequest
    • Constructor Detail

      • ClientUpgradeRequest

        public ClientUpgradeRequest()
        Deprecated.
    • Method Detail

      • getKey

        public String getKey()
        Deprecated.
      • setTimeout

        public void setTimeout​(long timeout,
                               TimeUnit unit)
        Deprecated.
        Parameters:
        timeout - the total timeout for the request/response conversation of the WebSocket handshake; use zero or a negative value to disable the timeout
        unit - the timeout unit
      • getTimeout

        public long getTimeout()
        Deprecated.
        Returns:
        the total timeout for this request, in milliseconds; zero or negative if the timeout is disabled
      • setLocalEndpoint

        public void setLocalEndpoint​(Object websocket)
        Deprecated.
      • getLocalEndpoint

        public Object getLocalEndpoint()
        Deprecated.