Package-level declarations
Types
Implementation of the OutgoingContent.ByteArrayContent for sending array of bytes
Specifies caching properties for OutgoingContent such as Cache-Control
or Expires
.
OutgoingContent to respond with ByteWriteChannel. The stream would be automatically closed after body finish.
This version checks the etag value and pass it through conditions supplied by the remote client. Depending on the conditions, it produces the return value of enum type VersionCheckResult.
Creates an instance of LastModifiedVersion that passes the given lastModified date through the If-Modified-Since
and If-Unmodified-Since
conditional headers provided by the client.
Represents a multipart data stream that could be received from a call.
Information about the content to be sent to the peer, recognized by a client or server engine
OutgoingContent to respond with OutputStream. The stream would be automatically closed after body finish.
Represents a text content that could be sent
Represents a content that is served from the specified uri
Represent the result of the version comparison between content being sent and HTTP request.
Represents a content that is produced by body function
Properties
Gets or sets the CacheControl instance as an extension property on this content.
Specifies a key for the CacheControl extension property for OutgoingContent.
Provides file item's content as an InputStream
Specifies a key for the VersionList extension property for OutgoingContent.
Functions
Transforms the multipart data stream into a Flow of PartData.
Returns OutgoingContent compressed with contentEncoder if possible.
Creates an instance of EntityTagVersion parsing the spec via EntityTagVersion.parseSingle.
Parse multipart data stream and invoke partHandler for each PartData encountered.
Check if current OutgoingContent doesn't contain content
This version passes the given lastModified date through the client provided http conditional headers If-Modified-Since and If-Unmodified-Since.
Parse multipart data stream and put all parts into a list.