Class RangeReader

java.lang.Object
org.restlet.engine.header.RangeReader

public class RangeReader extends Object
Range header reader.
Author:
Jerome Louvel
  • Method Details

    • update

      public static void update(String value, Representation representation)
      Parse the Content-Range header value and update the given representation.
      Parameters:
      value - Content-range header.
      representation - Representation to update.
    • read

      public static List<Range> read(String rangeHeader)
      Parse the Range header and returns the list of corresponding Range objects.
      Parameters:
      rangeHeader - The Range header value.
      Returns:
      The list of corresponding Range objects.