Class GetChangeStreamHandler
- java.lang.Object
-
- org.restheart.handlers.PipelinedHandler
-
- org.restheart.mongodb.handlers.changestreams.GetChangeStreamHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class GetChangeStreamHandler extends PipelinedHandler
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>, Omar Trasatti <omar@softinstigate.com>
-
-
Field Summary
Fields Modifier and Type Field Description static io.undertow.util.AttachmentKey<org.bson.BsonDocument>AVARS_ATTACHMENT_KEYstatic io.undertow.util.AttachmentKey<org.bson.json.JsonMode>JSON_MODE_ATTACHMENT_KEYstatic Set<SessionKey>OPENED_STREAMS-
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description GetChangeStreamHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange exchange)-
Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
-
-
-
Field Detail
-
OPENED_STREAMS
public static final Set<SessionKey> OPENED_STREAMS
-
AVARS_ATTACHMENT_KEY
public static final io.undertow.util.AttachmentKey<org.bson.BsonDocument> AVARS_ATTACHMENT_KEY
-
JSON_MODE_ATTACHMENT_KEY
public static final io.undertow.util.AttachmentKey<org.bson.json.JsonMode> JSON_MODE_ATTACHMENT_KEY
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Throws:
Exception
-
-