Uses of Class
org.springframework.http.HttpRange
Packages that use HttpRange
Package
Description
Contains a basic abstraction over client/server-side HTTP.
-
Uses of HttpRange in org.springframework.http
Methods in org.springframework.http that return HttpRangeModifier and TypeMethodDescriptionstatic HttpRangeHttpRange.createByteRange(long firstBytePos) Create anHttpRangefrom the given position to the end.static HttpRangeHttpRange.createByteRange(long firstBytePos, long lastBytePos) Create aHttpRangefrom the given fist to last position.static HttpRangeHttpRange.createSuffixRange(long suffixLength) Create anHttpRangethat ranges over the last given number of bytes.Methods in org.springframework.http that return types with arguments of type HttpRangeModifier and TypeMethodDescriptionHttpHeaders.getRange()Return the value of theRangeheader.HttpRange.parseRanges(String ranges) Parse the given, comma-separated string into a list ofHttpRangeobjects.Method parameters in org.springframework.http with type arguments of type HttpRangeModifier and TypeMethodDescriptionvoidSets the (new) value of theRangeheader.static List<org.springframework.core.io.support.ResourceRegion>HttpRange.toResourceRegions(List<HttpRange> ranges, org.springframework.core.io.Resource resource) Convert eachHttpRangeinto aResourceRegion, selecting the appropriate segment of the givenResourceusing HTTP Range information.static StringHttpRange.toString(Collection<HttpRange> ranges) Return a string representation of the given list ofHttpRangeobjects.