Class DeleteFileHandler
- java.lang.Object
-
- org.restheart.handlers.PipelinedHandler
-
- org.restheart.mongodb.handlers.files.DeleteFileHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class DeleteFileHandler extends PipelinedHandler
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
-
Field Summary
-
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description DeleteFileHandler()Creates a new instance of DeleteFileHandlerDeleteFileHandler(PipelinedHandler next)Creates a new instance of DeleteFileHandlerDeleteFileHandler(GridFsRepository gridFsDAO)Creates a new instance of DeleteFileHandler
-
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
-
-
-
-
Constructor Detail
-
DeleteFileHandler
public DeleteFileHandler()
Creates a new instance of DeleteFileHandler
-
DeleteFileHandler
public DeleteFileHandler(PipelinedHandler next)
Creates a new instance of DeleteFileHandler- Parameters:
next-
-
DeleteFileHandler
public DeleteFileHandler(GridFsRepository gridFsDAO)
Creates a new instance of DeleteFileHandler- Parameters:
gridFsDAO-
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Parameters:
exchange-- Throws:
Exception
-
-