Class QueryEndpoint


  • @Path("query")
    @Component
    public class QueryEndpoint
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<pl.allegro.tech.hermes.api.Group> queryGroups​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Group> query)  
      java.util.List<pl.allegro.tech.hermes.api.Subscription> querySubscriptions​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Subscription> query)  
      java.util.List<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> querySubscriptionsMetrics​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> query)  
      java.util.List<pl.allegro.tech.hermes.api.Topic> queryTopics​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Topic> query)  
      java.util.List<pl.allegro.tech.hermes.api.TopicNameWithMetrics> queryTopicsMetrics​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.TopicNameWithMetrics> query)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • queryGroups

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/groups")
        public java.util.List<pl.allegro.tech.hermes.api.Group> queryGroups​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Group> query)
      • queryTopics

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/topics")
        public java.util.List<pl.allegro.tech.hermes.api.Topic> queryTopics​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Topic> query)
      • querySubscriptions

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/subscriptions")
        public java.util.List<pl.allegro.tech.hermes.api.Subscription> querySubscriptions​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.Subscription> query)
      • queryTopicsMetrics

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("/topics/metrics")
        public java.util.List<pl.allegro.tech.hermes.api.TopicNameWithMetrics> queryTopicsMetrics​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.TopicNameWithMetrics> query)
      • querySubscriptionsMetrics

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        @Path("subscriptions/metrics")
        public java.util.List<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> querySubscriptionsMetrics​(pl.allegro.tech.hermes.api.Query<pl.allegro.tech.hermes.api.SubscriptionNameWithMetrics> query)