Package ch.tocco.nice2.dms.impl.publish
Class BinaryDeliveryServiceImpl
java.lang.Object
ch.tocco.nice2.dms.impl.publish.BinaryDeliveryServiceImpl
- All Implemented Interfaces:
BinaryDeliveryService
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.dms.api.publish.BinaryDeliveryService
BinaryDeliveryService.BinaryContent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deliver
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, BinaryDeliveryService.BinaryContent binaryContent) Write binary content to response.
-
Constructor Details
-
BinaryDeliveryServiceImpl
public BinaryDeliveryServiceImpl(org.slf4j.Logger log)
-
-
Method Details
-
deliver
public void deliver(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, BinaryDeliveryService.BinaryContent binaryContent) throws IOException Description copied from interface:BinaryDeliveryService
Write binary content to response. Also handles range requests correctly.- Specified by:
deliver
in interfaceBinaryDeliveryService
- Parameters:
req
- The HttpServletRequest.resp
- The HttpServletResponse.binaryContent
- the binary content to deliver.- Throws:
IOException
-