Class JettyHttpClientTransport

    • Constructor Detail

      • JettyHttpClientTransport

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

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

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

      • getHttpClient

        protected org.eclipse.jetty.client.HttpClient getHttpClient()
      • abort

        public void abort​(java.lang.Throwable failure)
        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.
        Overrides:
        abort in class AbstractHttpClientTransport
        Parameters:
        failure - the cause of the abort
        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)