Interface BinaryDeliveryService

All Known Implementing Classes:
BinaryDeliveryServiceImpl

public interface BinaryDeliveryService
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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