Class LongPollingTransport

    • Constructor Detail

      • LongPollingTransport

        public LongPollingTransport​(java.util.Map<java.lang.String,​java.lang.Object> options,
                                    org.eclipse.jetty.client.HttpClient httpClient)
      • LongPollingTransport

        public LongPollingTransport​(java.lang.String url,
                                    java.util.Map<java.lang.String,​java.lang.Object> options,
                                    org.eclipse.jetty.client.HttpClient httpClient)
    • Method Detail

      • accept

        public boolean accept​(java.lang.String bayeuxVersion)
        Specified by:
        accept in class ClientTransport
      • abort

        public void abort()
        Description copied from class: ClientTransport
        Aborts this transport, usually by cancelling all pending Bayeux messages that require a response, such as /meta/connects, without waiting for a response.
        Specified by:
        abort in class ClientTransport
        See Also:
        BayeuxClient.abort()
      • customize

        protected void customize​(org.eclipse.jetty.client.api.Request request)
      • customize

        protected void customize​(org.eclipse.jetty.client.api.Request request,
                                 Promise<org.eclipse.jetty.client.api.Request> promise)