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


package org.apache.sling.servlets.post.impl.helper
  • Class
    Description
    Chunk encapsulates all chunk upload attributes.
    The ChunkCleanUpTask implements a job run at regular intervals to find incomplete chunk uploads and remove them from the repository to prevent littering the repository with incomplete chunks.
     
    Takes a string representation of a time-date string and tries for parse it using different formats.
    Generates a node name based on a set of well-known request parameters like title, description, etc.
    Deprecated. 
    The HtmlResponseProxy extends the Sling API HtmlResponse overwriting all public methods and redirecting to a proxied PostResponse.
     
     
    Filter a String so that it can be used as a NodeName.
    Takes a string representation of a node (either a path or a uuid) and tries to parse it.
    Encapsulates all infos from the respective request parameters that are needed to create the repository property
    An input stream that reads from a list of resources that can be adapted into input streams.
    Handles file uploads.
    Sets a property on the given resource, in some cases with a specific type and value.
     
    Supports streamed uploads including where the stream is made up of partial body parts.
    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.