Class QueueBrowser
- java.lang.Object
-
- org.swisspush.gateleen.queue.queuing.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]
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_JSONDeprecated.static StringCONTENT_TYPEDeprecated.static StringPAYLOADDeprecated.static StringUTF_8Deprecated.
-
Constructor Summary
Constructors Constructor Description QueueBrowser(io.vertx.core.Vertx vertx, String prefix, String redisquesAddress, org.swisspush.gateleen.monitoring.MonitoringHandler monitoringHandler)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringdecode(String encoded)Deprecated.Decode the payload if the content-type is text or json.Stringencode(String decoded)Deprecated.Encode the payload from a payloadString or payloadObjet.voidhandle(io.vertx.core.http.HttpServerRequest request)Deprecated.
-
-
-
Field Detail
-
APPLICATION_JSON
public static final String APPLICATION_JSON
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final String CONTENT_TYPE
Deprecated.- See Also:
- Constant Field Values
-
UTF_8
public static final String UTF_8
Deprecated.- See Also:
- Constant Field Values
-
PAYLOAD
public static final String PAYLOAD
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
handle
public void handle(io.vertx.core.http.HttpServerRequest request)
Deprecated.- Specified by:
handlein interfaceio.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
-
-