Record Class ByteRange

java.lang.Object
java.lang.Record
org.eclipse.jetty.http.ByteRange

public record ByteRange(long first, long last) extends Record

A representation of a byte range as specified by RFC 7233.

This class parses the value of the Range request header value, for example:


 Range: bytes=100-499
 Range: bytes=1-10,5-25,50-,-20