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 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.StringAPPLICATION_JSONDeprecated.static java.lang.StringCONTENT_TYPEDeprecated.static java.lang.StringPAYLOADDeprecated.static java.lang.StringUTF_8Deprecated.
-
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.Stringdecode(java.lang.String encoded)Deprecated.Decode the payload if the content-type is text or json.java.lang.Stringencode(java.lang.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 java.lang.String APPLICATION_JSON
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE
public static final java.lang.String CONTENT_TYPE
Deprecated.- See Also:
- Constant Field Values
-
UTF_8
public static final java.lang.String UTF_8
Deprecated.- See Also:
- Constant Field Values
-
PAYLOAD
public static final java.lang.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 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
-
-