Package org.restheart.utils
Class MongoServiceAttachments
java.lang.Object
org.restheart.utils.MongoServiceAttachments
Util class for exchange attachments related to the MongoService
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidattachBsonContent(io.undertow.server.HttpServerExchange exchange, org.bson.BsonValue value) set the intialized flag for MongoRequeststatic org.bson.BsonValueattachedBsonContent(io.undertow.server.HttpServerExchange exchange)
-
Constructor Details
-
MongoServiceAttachments
public MongoServiceAttachments()
-
-
Method Details
-
attachedBsonContent
public static org.bson.BsonValue attachedBsonContent(io.undertow.server.HttpServerExchange exchange) - Parameters:
exchange-- Returns:
- the BsonValue attached to the exchange
-
attachBsonContent
public static void attachBsonContent(io.undertow.server.HttpServerExchange exchange, org.bson.BsonValue value) set the intialized flag for MongoRequest- Parameters:
exchange-value- the BsonValue to attache to the exchange
-