UploadEndpointImpl
class UploadEndpointImpl(referrer: Endpoint, relativeUri: URI, formField: String? = null) : AbstractEndpoint, UploadEndpoint
Implementation of an UploadEndpoint that accepts binary uploads using multi-part form encoding or raw bodies.
Parameters
referrer
The endpoint used to navigate to this one.
relativeUri
The URI of this endpoint relative to the referrer's.
formField
The name of the form field to place the uploaded data into; null to use raw bodies instead of multi-part forms.
Constructors
Properties
Functions
Link copied to clipboard
Deserializes an entity using the first serializer that supports the body's content type.
Link copied to clipboard
Link copied to clipboard
Retrieves a link template with a specific relation type.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Registers one or more default links for a specific relation type.
Link copied to clipboard
Registers a default link template for a specific relation type.
Link copied to clipboard
Uploads data to the endpoint from a file.
Uploads data to the endpoint from a stream.