set_ranges


Description:

public void set_ranges (Range ranges, int length)

Sets this's Range header to request the indicated ranges.

If you only want to request a single range, you can use [method@MessageHeaders.set_range].

Parameters:

this

a MessageHeaders

ranges

an array of Range

length

the length of range