Class GetFileBinaryHandler
java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.mongodb.handlers.files.GetFileBinaryHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
- Author:
- Maurizio Turatti <maurizio@softinstigate.com>
-
Field Summary
FieldsFields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of GetFileBinaryHandlerGetFileBinaryHandler(com.mongodb.client.MongoClient mclient, PipelinedHandler next) Creates a new instance of GetFileBinaryHandler -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
Field Details
-
APPLICATION_OCTET_STREAM
- See Also:
-
CONTENT_TRANSFER_ENCODING_BINARY
- See Also:
-
-
Constructor Details
-
GetFileBinaryHandler
public GetFileBinaryHandler()Creates a new instance of GetFileBinaryHandler -
GetFileBinaryHandler
Creates a new instance of GetFileBinaryHandler- Parameters:
next-
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Parameters:
exchange-- Throws:
Exception
-