public interface MWRequestStateVisitor<T>
| Modifier and Type | Method and Description |
|---|---|
void |
cancelled()
The request was cancelled at the client's request (this is a terminal state).
|
void |
expired()
The request could not be found on the server at its previous URL.
|
void |
failed(Exception ex)
The request has completed with an error.
|
void |
inQueue(long timeStamp,
URL requestURL)
The request is waiting to be processed (this is the initial state).
|
void |
interrupted()
The request is interrupted on the client side.
|
void |
processing(long timestamp,
URL requestURL)
The request is currently being processed.
|
void |
ready(T responseData)
The request has completed with no errors; here is the result (this is a terminal state).
|
void |
sending(byte[] data,
URL serviceURL)
The request data is being sent.
|
void cancelled()
void expired()
void failed(Exception ex)
void interrupted()
void inQueue(long timeStamp,
URL requestURL)
void processing(long timestamp,
URL requestURL)
void ready(T responseData)
void sending(byte[] data,
URL serviceURL)
Copyright © 2015–2021. All rights reserved.