Class GetFileBinaryHandler
- java.lang.Object
-
- org.restheart.handlers.PipelinedHandler
-
- org.restheart.mongodb.handlers.files.GetFileBinaryHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class GetFileBinaryHandler extends PipelinedHandler
- Author:
- Maurizio Turatti <maurizio@softinstigate.com>
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_OCTET_STREAMstatic StringCONTENT_TRANSFER_ENCODING_BINARY-
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description GetFileBinaryHandler()Creates a new instance of GetFileBinaryHandlerGetFileBinaryHandler(PipelinedHandler next)Creates a new instance of GetFileBinaryHandler
-
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
-
APPLICATION_OCTET_STREAM
public static final String APPLICATION_OCTET_STREAM
- See Also:
- Constant Field Values
-
CONTENT_TRANSFER_ENCODING_BINARY
public static final String CONTENT_TRANSFER_ENCODING_BINARY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetFileBinaryHandler
public GetFileBinaryHandler()
Creates a new instance of GetFileBinaryHandler
-
GetFileBinaryHandler
public GetFileBinaryHandler(PipelinedHandler next)
Creates a new instance of GetFileBinaryHandler- Parameters:
next-
-
-
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
-
-