Class ListenableFutureAgentResource
- java.lang.Object
-
- org.glassfish.jersey.examples.rx.agent.ListenableFutureAgentResource
-
@Path("agent/listenable") @Produces("application/json") public class ListenableFutureAgentResource extends Object
Obtain information about visited (destination) and recommended (destination, forecast, price) places for "Guava" user. Uses Guava ListenableFuture and Jersey Client to obtain the data.- Author:
- Michal Gajdos, Pavel Bucek
-
-
Constructor Summary
Constructors Constructor Description ListenableFutureAgentResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlistenable(AsyncResponse async)
-
-
-
Method Detail
-
listenable
@GET @ManagedAsync public void listenable(@Suspended AsyncResponse async)
-
-