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