public interface EntitySetProcessor extends ODataProcessor
Modifier and Type | Method and Description |
---|---|
ODataResponse |
countEntitySet(GetEntitySetCountUriInfo uriInfo,
String contentType)
Counts the number of requested entities.
|
ODataResponse |
createEntity(PostUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Creates an entity.
|
ODataResponse |
readEntitySet(GetEntitySetUriInfo uriInfo,
String contentType)
Reads entities.
|
getContext, setContext
ODataResponse readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- information about the request URIcontentType
- the content type of the responseODataResponse
objectODataException
ODataResponse countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) throws ODataException
uriInfo
- information about the request URIcontentType
- the content type of the responseODataResponse
objectODataException
ODataResponse createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) throws ODataException
uriInfo
- information about the request URIcontent
- the content of the request, containing the data of the new entityrequestContentType
- the content type of the request bodycontentType
- the content type of the responseODataResponse
objectODataException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.