public static class Request.Listener.Empty extends Object implements Request.Listener
Request.Listener
Request.Listener.Empty
Constructor and Description |
---|
Request.Listener.Empty() |
Modifier and Type | Method and Description |
---|---|
void |
onBegin(Request request)
Callback method invoked when the request begins being processed in order to be sent.
|
void |
onFailure(Request request,
Throwable failure)
Callback method invoked when the request has failed to be sent
|
void |
onHeaders(Request request)
Callback method invoked when the request headers (and perhaps small content) have been sent.
|
void |
onQueued(Request request)
Callback method invoked when the request is queued, waiting to be sent
|
void |
onSuccess(Request request)
Callback method invoked when the request has been successfully sent.
|
public void onQueued(Request request)
Request.Listener
onQueued
in interface Request.Listener
request
- the request being queuedpublic void onBegin(Request request)
Request.Listener
onBegin
in interface Request.Listener
request
- the request that begins being processedpublic void onHeaders(Request request)
Request.Listener
onHeaders
in interface Request.Listener
request
- the request that has been committedpublic void onSuccess(Request request)
Request.Listener
onSuccess
in interface Request.Listener
request
- the request sentpublic void onFailure(Request request, Throwable failure)
Request.Listener
onFailure
in interface Request.Listener
request
- the request that failedfailure
- the failureCopyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.