Uses of Class
org.apache.olingo.odata2.api.processor.ODataResponse
-
Packages that use ODataResponse Package Description org.apache.olingo.odata2.api OData Library APIorg.apache.olingo.odata2.api.batch org.apache.olingo.odata2.api.ep Entity Providerorg.apache.olingo.odata2.api.processor Data Processororg.apache.olingo.odata2.api.processor.part Processor Parts -
-
Uses of ODataResponse in org.apache.olingo.odata2.api
Methods in org.apache.olingo.odata2.api that return ODataResponse Modifier and Type Method Description ODataResponseODataDebugResponseWrapperCallback. handle(ODataContext context, ODataRequest request, ODataResponse response, UriInfo uriInfo, Exception exception)Handles the output of a response helpful in case of debugging.Methods in org.apache.olingo.odata2.api with parameters of type ODataResponse Modifier and Type Method Description ODataResponseODataDebugResponseWrapperCallback. handle(ODataContext context, ODataRequest request, ODataResponse response, UriInfo uriInfo, Exception exception)Handles the output of a response helpful in case of debugging. -
Uses of ODataResponse in org.apache.olingo.odata2.api.batch
Methods in org.apache.olingo.odata2.api.batch that return ODataResponse Modifier and Type Method Description ODataResponseBatchHandler. handleRequest(ODataRequest request)Delegates a handling of the requestODataRequestto the request handler and provides ODataResponseODataResponse.Methods in org.apache.olingo.odata2.api.batch that return types with arguments of type ODataResponse Modifier and Type Method Description abstract List<ODataResponse>BatchResponsePart. getResponses()Get responses.Method parameters in org.apache.olingo.odata2.api.batch with type arguments of type ODataResponse Modifier and Type Method Description abstract BatchResponsePart.BatchResponsePartBuilderBatchResponsePart.BatchResponsePartBuilder. responses(List<ODataResponse> responses)static BatchResponsePart.BatchResponsePartBuilderBatchResponsePart. responses(List<ODataResponse> responses) -
Uses of ODataResponse in org.apache.olingo.odata2.api.ep
Methods in org.apache.olingo.odata2.api.ep that return ODataResponse Modifier and Type Method Description ODataResponseEntityProvider.EntityProviderInterface. writeBatchResponse(List<BatchResponsePart> batchResponseParts)Write responses of Batch Response Parts in Batch Response asODataResponse.static ODataResponseEntityProvider. writeBatchResponse(List<BatchResponsePart> batchResponseParts)Write responses of Batch Response Parts in Batch Response asODataResponse.ODataResponseEntityProvider.EntityProviderInterface. writeBinary(String mimeType, byte[] data)Write binary content with content type header set to givenmime typeparameter.static ODataResponseEntityProvider. writeBinary(String mimeType, byte[] data)Write binary content with content type header set to givenmime typeparameter.ODataResponseEntityProvider.EntityProviderInterface. writeEntry(String contentType, EdmEntitySet entitySet, Map<String,Object> data, EntityProviderWriteProperties properties)Write givendata(which is given in form of aMapfor which contains all properties asproperty nametoproperty valuemapping) for the entry in the specified format (given ascontentType) based onentity data model for an entity set(given asEdmEntitySet) andpropertiesfor this entity provider (given asEntityProviderWriteProperties).static ODataResponseEntityProvider. writeEntry(String contentType, EdmEntitySet entitySet, Map<String,Object> data, EntityProviderWriteProperties properties)Write givendata(which is given in form of aMapfor which contains all properties asproperty nametoproperty valuemapping) for the entry in the specified format (given ascontentType) based onentity data model for an entity set(given asEdmEntitySet) andpropertiesfor this entity provider (given asEntityProviderWriteProperties).ODataResponseEntityProvider.EntityProviderInterface. writeErrorDocument(ODataErrorContext context)Serializes an error message according to the OData standard.static ODataResponseEntityProvider. writeErrorDocument(ODataErrorContext context)Serializes an error message according to the OData standard.ODataResponseEntityProvider.EntityProviderInterface. writeFeed(String contentType, EdmEntitySet entitySet, List<Map<String,Object>> data, EntityProviderWriteProperties properties)static ODataResponseEntityProvider. writeFeed(String contentType, EdmEntitySet entitySet, List<Map<String,Object>> data, EntityProviderWriteProperties properties)ODataResponseEntityProvider.EntityProviderInterface. writeFunctionImport(String contentType, EdmFunctionImport functionImport, Object data, EntityProviderWriteProperties properties)Writedataresult (given asObject) of function import based onreturn typeofEdmFunctionImportin specified format (given ascontentType).static ODataResponseEntityProvider. writeFunctionImport(String contentType, EdmFunctionImport functionImport, Object data, EntityProviderWriteProperties properties)Writedataresult (given asObject) of function import based onreturn typeofEdmFunctionImportin specified format (given ascontentType).ODataResponseEntityProvider.EntityProviderInterface. writeLink(String contentType, EdmEntitySet entitySet, Map<String,Object> data, EntityProviderWriteProperties properties)Write link for key property based onentity data model for an entity set(given asEdmEntitySet) in the specified format (given ascontentType).static ODataResponseEntityProvider. writeLink(String contentType, EdmEntitySet entitySet, Map<String,Object> data, EntityProviderWriteProperties properties)Write link for key property based onentity data model for an entity set(given asEdmEntitySet) in the specified format (given ascontentType).ODataResponseEntityProvider.EntityProviderInterface. writeLinks(String contentType, EdmEntitySet entitySet, List<Map<String,Object>> data, EntityProviderWriteProperties properties)Write all links for key property based onentity data model for an entity set(given asEdmEntitySet) in the specified format (given ascontentType) for a set of entries.static ODataResponseEntityProvider. writeLinks(String contentType, EdmEntitySet entitySet, List<Map<String,Object>> data, EntityProviderWriteProperties properties)Write all links for key property based onentity data model for an entity set(given asEdmEntitySet) in the specified format (given ascontentType) for a set of entries.ODataResponseEntityProvider.EntityProviderInterface. writeMetadata(List<Schema> schemas, Map<String,String> predefinedNamespaces)Write metadata document in XML format for the given schemas and the provided predefined namespaces at the EDMX element.ODataResponseEntityProvider.EntityProviderInterface. writeMetadata(DataServices serviceMetadata, Map<String,String> predefinedNamespaces)Write metadata document in XML format for the given schemas and the provided predefined namespaces at the EDMX element.static ODataResponseEntityProvider. writeMetadata(List<Schema> schemas, Map<String,String> predefinedNamespaces)Write metadata document in XML format for the given schemas and the provided predefined namespaces at the EDMX element.static ODataResponseEntityProvider. writeMetadata(DataServices serviceMetadata, Map<String,String> predefinedNamespaces)Write metadata document in XML format for the given schemas and the provided predefined namespaces at the EDMX element.ODataResponseEntityProvider.EntityProviderInterface. writeProperty(String contentType, EdmProperty edmProperty, Object value)Write givenvalue(which is given in form of anObject) for the property in the specified format (given ascontentType) based on givenentity data model for an entity property(given asEdmProperty).static ODataResponseEntityProvider. writeProperty(String contentType, EdmProperty edmProperty, Object value)Write givenvalue(which is given in form of anObject) for the property in the specified format (given ascontentType) based on givenentity data model for an entity property(given asEdmProperty).ODataResponseEntityProvider.EntityProviderInterface. writePropertyValue(EdmProperty edmProperty, Object value)Write property as content typeapplication/octet-streamortext/plain.static ODataResponseEntityProvider. writePropertyValue(EdmProperty edmProperty, Object value)Write property as content typeapplication/octet-streamortext/plain.ODataResponseEntityProvider.EntityProviderInterface. writeServiceDocument(String contentType, Edm edm, String serviceRoot)Write service document based on givenEdmandservice rootas given content type.static ODataResponseEntityProvider. writeServiceDocument(String contentType, Edm edm, String serviceRoot)Write service document based on givenEdmandservice rootas given content type.ODataResponseEntityProvider.EntityProviderInterface. writeText(String value)Write text value as content typetext/plain.static ODataResponseEntityProvider. writeText(String value)Write text value as content typetext/plain. -
Uses of ODataResponse in org.apache.olingo.odata2.api.processor
Methods in org.apache.olingo.odata2.api.processor that return ODataResponse Modifier and Type Method Description abstract ODataResponseODataResponse.ODataResponseBuilder. build()ODataResponseODataSingleProcessor. countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType)ODataResponseODataSingleProcessor. createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType)ODataResponseODataSingleProcessor. deleteEntity(DeleteUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. deleteEntityLink(DeleteUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. deleteEntityMedia(DeleteUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. executeBatch(BatchHandler handler, String contentType, InputStream content)ODataResponseODataSingleProcessor. executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. existsEntity(GetEntityCountUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType)ODataResponseODataErrorCallback. handleError(ODataErrorContext context)This method can be used to handle an error differently than the exception mapper would.ODataResponseODataSingleProcessor. readEntity(GetEntityUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntitySet(GetEntitySetUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readMetadata(GetMetadataUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType)ODataResponseODataSingleProcessor. updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)ODataResponseODataSingleProcessor. updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)ODataResponseODataSingleProcessor. updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)ODataResponseODataSingleProcessor. updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)ODataResponseODataSingleProcessor. updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)ODataResponseODataSingleProcessor. updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Methods in org.apache.olingo.odata2.api.processor with parameters of type ODataResponse Modifier and Type Method Description static ODataResponse.ODataResponseBuilderODataResponse. fromResponse(ODataResponse response)protected abstract ODataResponse.ODataResponseBuilderODataResponse.ODataResponseBuilder. fromResponse(ODataResponse response) -
Uses of ODataResponse in org.apache.olingo.odata2.api.processor.part
Methods in org.apache.olingo.odata2.api.processor.part that return ODataResponse Modifier and Type Method Description ODataResponseEntityLinksProcessor. countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType)Counts the number of target entities of a navigation property.ODataResponseEntitySetProcessor. countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType)Counts the number of requested entities.ODataResponseEntitySetProcessor. createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Creates an entity.ODataResponseEntityLinksProcessor. createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Creates a new link to a target entity of a navigation property.ODataResponseEntityProcessor. deleteEntity(DeleteUriInfo uriInfo, String contentType)Deletes an entity.ODataResponseEntityLinkProcessor. deleteEntityLink(DeleteUriInfo uriInfo, String contentType)Deletes the link to the target entity of a navigation property.ODataResponseEntityMediaProcessor. deleteEntityMedia(DeleteUriInfo uriInfo, String contentType)Deletes the media resource of an entity.ODataResponseEntitySimplePropertyValueProcessor. deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType)Deletes the value of a simple property of an entity.ODataResponseBatchProcessor. executeBatch(BatchHandler handler, String contentType, InputStream content)Executes a OData batch request and provide Batch Response asODataResponseODataResponseFunctionImportProcessor. executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType)Executes a function import and returns the result.ODataResponseFunctionImportValueProcessor. executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType)Returns the unformatted value of a function import.ODataResponseEntityProcessor. existsEntity(GetEntityCountUriInfo uriInfo, String contentType)Checks whether an entity exists.ODataResponseEntityLinkProcessor. existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType)Returns whether the target entity of a navigation property exists.ODataResponseEntityProcessor. readEntity(GetEntityUriInfo uriInfo, String contentType)Reads an entity.ODataResponseEntityComplexPropertyProcessor. readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType)Reads a complex property of an entity.ODataResponseEntityLinkProcessor. readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType)Reads the URI of the target entity of a navigation property.ODataResponseEntityLinksProcessor. readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType)Reads the URIs of the target entities of a navigation property.ODataResponseEntityMediaProcessor. readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType)Reads the media resource of an entity.ODataResponseEntitySetProcessor. readEntitySet(GetEntitySetUriInfo uriInfo, String contentType)Reads entities.ODataResponseEntitySimplePropertyProcessor. readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType)Reads a simple property of an entity.ODataResponseEntitySimplePropertyValueProcessor. readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType)Reads the unformatted value of a simple property of an entity.ODataResponseMetadataProcessor. readMetadata(GetMetadataUriInfo uriInfo, String contentType)ODataResponseServiceDocumentProcessor. readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType)ODataResponseEntityProcessor. updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)Updates an entity.ODataResponseEntityComplexPropertyProcessor. updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType)Updates a complex property of an entity.ODataResponseEntityLinkProcessor. updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates the link to the target entity of a navigation property.ODataResponseEntityMediaProcessor. updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates the media resource of an entity.ODataResponseEntitySimplePropertyProcessor. updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates a simple property of an entity.ODataResponseEntitySimplePropertyValueProcessor. updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType)Updates a simple property of an entity with an unformatted value.
-