Package org.apache.sling.servlets.post.impl.helper

# Klasse StreamedChunk.ContentRange

java.lang.Object
org.apache.sling.servlets.post.impl.helper.StreamedChunk.ContentRange

Umschließende Klasse:
  `StreamedChunk`

public static class StreamedChunk.ContentRange extends Object
Parses Content-Range headers according to spec https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html section 14.16 Content-Range = "Content-Range" ":" content-range-spec content-range-spec = byte-content-range-spec byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" ( instance-length | "*" ) byte-range-resp-spec = (first-byte-pos "-" last-byte-pos) | "*" instance-length = 1*DIGIT eg bytes 0-1233/1234 bytes 500-1233/1234 bytes 500-1233/* According to https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.12 "bytes" is the only valid range unit.

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`long`
`length`
`long`
`offset`
`long`
`range`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`ContentRange(String contentRangeHeader)`

## Methodenübersicht

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Felddetails

### length

public long length

### offset

public long offset

### range

public long range

## Konstruktordetails

### ContentRange

public ContentRange(String contentRangeHeader)