Package org.apache.pivot.web
Class QueryListener.Adapter<V>
- java.lang.Object
-
- org.apache.pivot.web.QueryListener.Adapter<V>
-
- Type Parameters:
V
- The type associated with the query.
- All Implemented Interfaces:
QueryListener<V>
- Enclosing interface:
- QueryListener<V>
@Deprecated public static class QueryListener.Adapter<V> extends java.lang.Object implements QueryListener<V>
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Query listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.web.QueryListener
QueryListener.Adapter<V>, QueryListener.Listeners<V>
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
connected(Query<V> query)
Deprecated.Called when a query has connected to the server but the request has not yet been sent.void
failed(Query<V> query)
Deprecated.Called when an error has occurred.void
requestSent(Query<V> query)
Deprecated.Called when the request has been sent to the server but the response has not yet been received.void
responseReceived(Query<V> query)
Deprecated.Called when a response has been received from the server.
-
-
-
Method Detail
-
connected
public void connected(Query<V> query)
Deprecated.Description copied from interface:QueryListener
Called when a query has connected to the server but the request has not yet been sent.- Specified by:
connected
in interfaceQueryListener<V>
- Parameters:
query
- The query that has just connected.
-
requestSent
public void requestSent(Query<V> query)
Deprecated.Description copied from interface:QueryListener
Called when the request has been sent to the server but the response has not yet been received.- Specified by:
requestSent
in interfaceQueryListener<V>
- Parameters:
query
- The query whose request has been sent.
-
responseReceived
public void responseReceived(Query<V> query)
Deprecated.Description copied from interface:QueryListener
Called when a response has been received from the server.- Specified by:
responseReceived
in interfaceQueryListener<V>
- Parameters:
query
- The query whose response has just been received.
-
failed
public void failed(Query<V> query)
Deprecated.Description copied from interface:QueryListener
Called when an error has occurred.- Specified by:
failed
in interfaceQueryListener<V>
- Parameters:
query
- The query that has failed.
-
-