@Path(value="experimental-rawfiles-content") public class ExperimentalRawFilesContentResource extends Object
rest/experimental-rawfiles-content/file1.txt
) can be less confusing than the semantics
of REST APIs (like rest/experimental-rawfiles/file1.txt/raw
; also supported). Note that this endpoint
provides only a view, modifications, metadata accessing is available through the REST endpoint
(rest/experimental-rawfiles
) implemented by ExperimentalRawFilesResource
.
Please note that endpoints of this resource are expected to be changed in an incompatible way in any of the future releases.
Constructor and Description |
---|
ExperimentalRawFilesContentResource() |
Modifier and Type | Method and Description |
---|---|
Response |
getRawFileWithNoContentDisposition(ExperimentalRawFile res)
Get the raw file content with no
content-disposition . |
@GET @Path(value="{res}") public Response getRawFileWithNoContentDisposition(@PathParam(value="res") ExperimentalRawFile res)
content-disposition
.
The response media type will be filled according to the stored media type. The response is the same as the
response of getRawFileWithNoContentDisposition(com.chemaxon.overlap.wui.res.ExperimentalRawFile)
. The
path associated to this method (rawfiles-content/{res}
) represents typical web semantics, where the
response is the resource itself with no different/partial representations.res
- Raw file