Interface RangeAwareResource

    • Method Detail

      • serveRange

        void serveRange​(Sender sender,
                        HttpServerExchange exchange,
                        long start,
                        long end,
                        IoCallback completionCallback)
        Serve the resource, and call the provided callback when complete.
        sender - The sender to use.
        exchange - The exchange
      • isRangeSupported

        boolean isRangeSupported()
        It is possible that some resources managers may only support range requests on a subset of their resources,
        true if this resource supports range requests