类 JettyXhrTransport

  • 所有已实现的接口:
    Lifecycle, InfoReceiver, Transport, XhrTransport

    public class JettyXhrTransport
    extends AbstractXhrTransport
    implements Lifecycle
    An XHR transport based on Jetty's HttpClient.

    When used for testing purposes (e.g. load testing) the HttpClient properties must be set to allow a larger than usual number of connections and threads. For example:

     HttpClient httpClient = new HttpClient();
     httpClient.setMaxConnectionsPerDestination(1000);
     httpClient.setExecutor(new QueuedThreadPool(500));
     
    从以下版本开始:
    4.1
    作者:
    Rossen Stoyanchev