Class PutJsonResource

java.lang.Object
io.milton.http.json.JsonResource
io.milton.http.json.PutJsonResource
All Implemented Interfaces:
DigestResource, GetableResource, PostableResource, Resource

public class PutJsonResource extends JsonResource implements PostableResource
Will use milton's PUT framework to support file uploads using POST and multipart encoding

This will save the uploaded files with their given names into the parent collection resource.

If a file already exists with the same name a ConflictException is thrown, unless you set the _autoname request parameter. If this parameter is present (ie with any value) the file will be saved with a non-conflicting file name

Save file information is returned as JSON in the response content

Author:
brad