Uses of Class
org.springframework.http.HttpRange
Packages that use HttpRange Package Description org.springframework.http Contains a basic abstraction over client/server-side HTTP.org.springframework.mock.http.server.reactive Mock implementations of reactive HTTP server contracts.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.server
package.org.springframework.web.servlet.function Provides the types that make up Spring's functional web framework for Servlet environments.Uses of HttpRange in org.springframework.http
Methods in org.springframework.http that return HttpRange Modifier and Type Method Description static HttpRange
HttpRange. createByteRange(long firstBytePos)
Create anHttpRange
from the given position to the end.static HttpRange
HttpRange. createByteRange(long firstBytePos, long lastBytePos)
Create aHttpRange
from the given fist to last position.static HttpRange
HttpRange. createSuffixRange(long suffixLength)
Create anHttpRange
that ranges over the last given number of bytes.Methods in org.springframework.http that return types with arguments of type HttpRange Modifier and Type Method Description List<HttpRange>
HttpHeaders. getRange()
Return the value of theRange
header.static List<HttpRange>
HttpRange. parseRanges(String ranges)
Parse the given, comma-separated string into a list ofHttpRange
objects.Method parameters in org.springframework.http with type arguments of type HttpRange Modifier and Type Method Description void
HttpHeaders. setRange(List<HttpRange> ranges)
Sets the (new) value of theRange
header.static List<ResourceRegion>
HttpRange. toResourceRegions(List<HttpRange> ranges, Resource resource)
Convert eachHttpRange
into aResourceRegion
, selecting the appropriate segment of the givenResource
using HTTP Range information.static String
HttpRange. toString(Collection<HttpRange> ranges)
Return a string representation of the given list ofHttpRange
objects.Uses of HttpRange in org.springframework.mock.http.server.reactive
Methods in org.springframework.mock.http.server.reactive with parameters of type HttpRange Modifier and Type Method Description B
MockServerHttpRequest.BaseBuilder. range(HttpRange... ranges)
Set the (new) value of the Range header.Uses of HttpRange in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return types with arguments of type HttpRange Modifier and Type Method Description List<HttpRange>
ServerRequest.Headers. range()
Get the value of theRange
header.Uses of HttpRange in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support that return types with arguments of type HttpRange Modifier and Type Method Description List<HttpRange>
ServerRequestWrapper.HeadersWrapper. range()
Uses of HttpRange in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function that return types with arguments of type HttpRange Modifier and Type Method Description List<HttpRange>
ServerRequest.Headers. range()
Get the value of theRange
header.