public abstract static class HttpListenerFactory.RequestResponseListener extends Object implements org.eclipse.jetty.client.api.Request.BeginListener, org.eclipse.jetty.client.api.Response.CompleteListener, org.eclipse.jetty.client.api.Request.QueuedListener
Constructor and Description |
---|
RequestResponseListener() |
Modifier and Type | Method and Description |
---|---|
void |
onBegin(org.eclipse.jetty.client.api.Request request)
Callback method invoked when the request begins being processed in order to be sent.
|
void |
onComplete(org.eclipse.jetty.client.api.Result result) |
void |
onQueued(org.eclipse.jetty.client.api.Request request)
Callback method invoked when the request is queued, waiting to be sent.
|
public void onBegin(org.eclipse.jetty.client.api.Request request)
Http2SolrClient
methods.onBegin
in interface org.eclipse.jetty.client.api.Request.BeginListener
request
- the request that begins being processedpublic void onQueued(org.eclipse.jetty.client.api.Request request)
Http2SolrClient
methods.onQueued
in interface org.eclipse.jetty.client.api.Request.QueuedListener
request
- the request being queuedpublic void onComplete(org.eclipse.jetty.client.api.Result result)
onComplete
in interface org.eclipse.jetty.client.api.Response.CompleteListener
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.