public interface MediaEntityProcessor extends EntityProcessor
| Modifier and Type | Method and Description | 
|---|---|
| void | createMediaEntity(ODataRequest request,
                 ODataResponse response,
                 UriInfo uriInfo,
                 ContentType requestFormat,
                 ContentType responseFormat)Creates an entity with sent media data in the persistence and puts content, status and Location into the response. | 
| void | deleteMediaEntity(ODataRequest request,
                 ODataResponse response,
                 UriInfo uriInfo)Deletes entity media data and associated entity from persistence and puts the status into the response. | 
| void | readMediaEntity(ODataRequest request,
               ODataResponse response,
               UriInfo uriInfo,
               ContentType responseFormat)Reads entity media data from persistence and puts content and status into the response. | 
| void | updateMediaEntity(ODataRequest request,
                 ODataResponse response,
                 UriInfo uriInfo,
                 ContentType requestFormat,
                 ContentType responseFormat)Updates entity media data in the persistence and puts content and status into the response. | 
createEntity, deleteEntity, readEntity, updateEntityvoid readMediaEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid createMediaEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid updateMediaEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo, ContentType requestFormat, ContentType responseFormat) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIrequestFormat - content type of body sent with requestresponseFormat - requested content type after content negotiationODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionvoid deleteMediaEntity(ODataRequest request, ODataResponse response, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException
request - OData request object containing raw HTTP informationresponse - OData response object for collecting response datauriInfo - information of a parsed OData URIODataApplicationException - if the service implementation encounters a failureODataLibraryExceptionCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.