Class QueueBrowser

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>

    public class QueueBrowser
    extends java.lang.Object
    implements io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
    Deprecated.
    Use http api from vertx-redisques (version greater than v2.2.4) directly. See https://github.com/swisspush/vertx-redisques
    Author:
    https://github.com/lbovet [Laurent Bovet]
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String APPLICATION_JSON
      Deprecated.
       
      static java.lang.String CONTENT_TYPE
      Deprecated.
       
      static java.lang.String PAYLOAD
      Deprecated.
       
      static java.lang.String UTF_8
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      QueueBrowser​(io.vertx.core.Vertx vertx, java.lang.String prefix, java.lang.String redisquesAddress, org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String decode​(java.lang.String encoded)
      Deprecated.
      Decode the payload if the content-type is text or json.
      java.lang.String encode​(java.lang.String decoded)
      Deprecated.
      Encode the payload from a payloadString or payloadObjet.
      void handle​(io.vertx.core.http.HttpServerRequest request)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • QueueBrowser

        public QueueBrowser​(io.vertx.core.Vertx vertx,
                            java.lang.String prefix,
                            java.lang.String redisquesAddress,
                            org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler)
        Deprecated.
    • Method Detail

      • handle

        public void handle​(io.vertx.core.http.HttpServerRequest request)
        Deprecated.
        Specified by:
        handle in interface io.vertx.core.Handler<io.vertx.core.http.HttpServerRequest>
      • encode

        public java.lang.String encode​(java.lang.String decoded)
        Deprecated.
        Encode the payload from a payloadString or payloadObjet.
        Parameters:
        decoded - decoded
        Returns:
        String
      • decode

        public java.lang.String decode​(java.lang.String encoded)
        Deprecated.
        Decode the payload if the content-type is text or json.
        Parameters:
        encoded - encoded
        Returns:
        String