Package ch.tocco.nice2.dms.api.publish
Interface BinaryDeliveryService
- All Known Implementing Classes:
BinaryDeliveryServiceImpl
public interface BinaryDeliveryService
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoiddeliver(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
-