public interface EntityMediaProcessor extends ODataProcessor
Modifier and Type | Method and Description |
---|---|
ODataResponse |
deleteEntityMedia(DeleteUriInfo uriInfo,
String contentType)
Deletes the media resource of an entity.
|
ODataResponse |
readEntityMedia(GetMediaResourceUriInfo uriInfo,
String contentType)
Reads the media resource of an entity.
|
ODataResponse |
updateEntityMedia(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Updates the media resource of an entity.
|
getContext, setContext
ODataResponse readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- information about the request URIcontentType
- the content type of the responseODataResponse
objectODataException
ODataResponse updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException
uriInfo
- information about the request URIcontent
- the content of the requestrequestContentType
- the content type of the request bodycontentType
- the content type of the responseODataResponse
objectODataException
ODataResponse deleteEntityMedia(DeleteUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- information about the request URIcontentType
- the content type of the responseODataResponse
objectODataException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.