Interface BinaryResourceAction.ReadWithResponse
-
- All Superinterfaces:
ResourceAction
- Enclosing interface:
- BinaryResourceAction
public static interface BinaryResourceAction.ReadWithResponse extends ResourceAction
HTTP GET - Retrieve a binary resource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinaryResource
readProperty(java.lang.String entityId, Parameters parameters, WithResponse withResponse)
Retrieves a binary property by returning a BinaryResource object.
-
-
-
Method Detail
-
readProperty
BinaryResource readProperty(java.lang.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
-
-