| 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 the  org.springframework.web.reactive.function.serverpackage. | 
| org.springframework.web.servlet.function | Provides the types that make up Spring's functional web framework for Servlet environments. | 
| Modifier and Type | Method and Description | 
|---|---|
| static HttpRange | HttpRange. createByteRange(long firstBytePos)Create an  HttpRangefrom the given position to the end. | 
| static HttpRange | HttpRange. createByteRange(long firstBytePos,
               long lastBytePos)Create a  HttpRangefrom the given fist to last position. | 
| static HttpRange | HttpRange. createSuffixRange(long suffixLength)Create an  HttpRangethat ranges over the last given number of bytes. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HttpRange> | HttpHeaders. getRange()Return the value of the  Rangeheader. | 
| static List<HttpRange> | HttpRange. parseRanges(String ranges)Parse the given, comma-separated string into a list of  HttpRangeobjects. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpHeaders. setRange(List<HttpRange> ranges)Sets the (new) value of the  Rangeheader. | 
| static List<ResourceRegion> | HttpRange. toResourceRegions(List<HttpRange> ranges,
                 Resource resource)Convert each  HttpRangeinto aResourceRegion, selecting the
 appropriate segment of the givenResourceusing HTTP Range information. | 
| static String | HttpRange. toString(Collection<HttpRange> ranges)Return a string representation of the given list of  HttpRangeobjects. | 
| Modifier and Type | Method and Description | 
|---|---|
| B | MockServerHttpRequest.BaseBuilder. range(HttpRange... ranges)Set the (new) value of the Range header. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HttpRange> | ServerRequest.Headers. range()Get the value of the  Rangeheader. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HttpRange> | ServerRequestWrapper.HeadersWrapper. range() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HttpRange> | ServerRequest.Headers. range()Get the value of the  Rangeheader. |