Package ch.tocco.nice2.dms.api.publish
Interface BinaryDeliveryService
- All Known Implementing Classes:
BinaryDeliveryServiceImpl
public interface BinaryDeliveryService
-
Nested Class 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.
-
Method Details
-
deliver
void deliver(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, BinaryDeliveryService.BinaryContent binaryContent) throws IOException Write binary content to response. Also handles range requests correctly.- Parameters:
req
- The HttpServletRequest.resp
- The HttpServletResponse.binaryContent
- the binary content to deliver.- Throws:
IOException
-