Class QueueBrowser

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

    public class QueueBrowser
    extends 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]
    • Constructor Detail

      • QueueBrowser

        public QueueBrowser​(io.vertx.core.Vertx vertx,
                            String prefix,
                            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 String encode​(String decoded)
        Deprecated.
        Encode the payload from a payloadString or payloadObjet.
        Parameters:
        decoded - decoded
        Returns:
        String
      • decode

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