Interface BinaryResourceAction.ReadWithResponse
- All Superinterfaces:
ResourceAction
- Enclosing interface:
- BinaryResourceAction
HTTP GET - Retrieve a binary resource
-
Method Summary
Modifier and TypeMethodDescriptionreadProperty
(String entityId, Parameters parameters, WithResponse withResponse) Retrieves a binary property by returning a BinaryResource object.
-
Method Details
-
readProperty
BinaryResource readProperty(String entityId, Parameters parameters, WithResponse withResponse) throws EntityNotFoundException Retrieves a binary property by returning a BinaryResource object. The specific property is specified in theParameters
object. SeeParameters.hasBinaryProperty(String)
orParameters.getBinaryProperty()
- Parameters:
entityId
- unique idparameters
-Parameters
- Returns:
- BinaryResource - Either
FileBinaryResource
orNodeBinaryResource
- Throws:
EntityNotFoundException
-