Uses of Class
org.apache.olingo.odata2.api.processor.ODataResponse
Packages that use ODataResponse
Package
Description
OData Library API
Entity Provider
Data Processor
Processor Parts
-
Uses of ODataResponse in org.apache.olingo.odata2.api
Methods in org.apache.olingo.odata2.api that return ODataResponseModifier and TypeMethodDescriptionODataDebugResponseWrapperCallback.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 ODataResponseModifier and TypeMethodDescriptionODataDebugResponseWrapperCallback.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 ODataResponseModifier and TypeMethodDescriptionBatchHandler.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 ODataResponseModifier and TypeMethodDescriptionabstract List<ODataResponse>BatchResponsePart.getResponses()Get responses.Method parameters in org.apache.olingo.odata2.api.batch with type arguments of type ODataResponseModifier and TypeMethodDescriptionBatchResponsePart.BatchResponsePartBuilder.responses(List<ODataResponse> responses) BatchResponsePart.responses(List<ODataResponse> responses) -
Uses of ODataResponse in org.apache.olingo.odata2.api.ep
Methods in org.apache.olingo.odata2.api.ep that return ODataResponseModifier and TypeMethodDescriptionEntityProvider.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.EntityProvider.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.EntityProvider.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).EntityProvider.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.EntityProvider.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) EntityProvider.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).EntityProvider.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).EntityProvider.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.EntityProvider.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.EntityProvider.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 ODataResponseWrite 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.EntityProvider.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).EntityProvider.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.EntityProvider.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.Write text value as content typetext/plain.static ODataResponseWrite 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 ODataResponseModifier and TypeMethodDescriptionabstract ODataResponseODataResponse.ODataResponseBuilder.build()ODataSingleProcessor.countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType) ODataSingleProcessor.countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) ODataSingleProcessor.createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.deleteEntity(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.deleteEntityLink(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.deleteEntityMedia(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType) ODataSingleProcessor.executeBatch(BatchHandler handler, String contentType, InputStream content) ODataSingleProcessor.executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType) ODataSingleProcessor.executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType) ODataSingleProcessor.existsEntity(GetEntityCountUriInfo uriInfo, String contentType) ODataSingleProcessor.existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType) ODataErrorCallback.handleError(ODataErrorContext context) This method can be used to handle an error differently than the exception mapper would.ODataSingleProcessor.readEntity(GetEntityUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) ODataSingleProcessor.readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) ODataSingleProcessor.readMetadata(GetMetadataUriInfo uriInfo, String contentType) ODataSingleProcessor.readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType) ODataSingleProcessor.updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) ODataSingleProcessor.updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) ODataSingleProcessor.updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) ODataSingleProcessor.updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Methods in org.apache.olingo.odata2.api.processor with parameters of type ODataResponseModifier and TypeMethodDescriptionODataResponse.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 ODataResponseModifier and TypeMethodDescriptionEntityLinksProcessor.countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo, String contentType) Counts the number of target entities of a navigation property.EntitySetProcessor.countEntitySet(GetEntitySetCountUriInfo uriInfo, String contentType) Counts the number of requested entities.EntitySetProcessor.createEntity(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Creates an entity.EntityLinksProcessor.createEntityLink(PostUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Creates a new link to a target entity of a navigation property.EntityProcessor.deleteEntity(DeleteUriInfo uriInfo, String contentType) Deletes an entity.EntityLinkProcessor.deleteEntityLink(DeleteUriInfo uriInfo, String contentType) Deletes the link to the target entity of a navigation property.EntityMediaProcessor.deleteEntityMedia(DeleteUriInfo uriInfo, String contentType) Deletes the media resource of an entity.EntitySimplePropertyValueProcessor.deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo, String contentType) Deletes the value of a simple property of an entity.BatchProcessor.executeBatch(BatchHandler handler, String contentType, InputStream content) Executes a OData batch request and provide Batch Response asODataResponseFunctionImportProcessor.executeFunctionImport(GetFunctionImportUriInfo uriInfo, String contentType) Executes a function import and returns the result.FunctionImportValueProcessor.executeFunctionImportValue(GetFunctionImportUriInfo uriInfo, String contentType) Returns the unformatted value of a function import.EntityProcessor.existsEntity(GetEntityCountUriInfo uriInfo, String contentType) Checks whether an entity exists.EntityLinkProcessor.existsEntityLink(GetEntityLinkCountUriInfo uriInfo, String contentType) Returns whether the target entity of a navigation property exists.EntityProcessor.readEntity(GetEntityUriInfo uriInfo, String contentType) Reads an entity.EntityComplexPropertyProcessor.readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo, String contentType) Reads a complex property of an entity.EntityLinkProcessor.readEntityLink(GetEntityLinkUriInfo uriInfo, String contentType) Reads the URI of the target entity of a navigation property.EntityLinksProcessor.readEntityLinks(GetEntitySetLinksUriInfo uriInfo, String contentType) Reads the URIs of the target entities of a navigation property.EntityMediaProcessor.readEntityMedia(GetMediaResourceUriInfo uriInfo, String contentType) Reads the media resource of an entity.EntitySetProcessor.readEntitySet(GetEntitySetUriInfo uriInfo, String contentType) Reads entities.EntitySimplePropertyProcessor.readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo, String contentType) Reads a simple property of an entity.EntitySimplePropertyValueProcessor.readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo, String contentType) Reads the unformatted value of a simple property of an entity.MetadataProcessor.readMetadata(GetMetadataUriInfo uriInfo, String contentType) ServiceDocumentProcessor.readServiceDocument(GetServiceDocumentUriInfo uriInfo, String contentType) EntityProcessor.updateEntity(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) Updates an entity.EntityComplexPropertyProcessor.updateEntityComplexProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, boolean merge, String contentType) Updates a complex property of an entity.EntityLinkProcessor.updateEntityLink(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates the link to the target entity of a navigation property.EntityMediaProcessor.updateEntityMedia(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates the media resource of an entity.EntitySimplePropertyProcessor.updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates a simple property of an entity.EntitySimplePropertyValueProcessor.updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo, InputStream content, String requestContentType, String contentType) Updates a simple property of an entity with an unformatted value. -
Uses of ODataResponse in org.apache.olingo.odata2.core
Subclasses of ODataResponse in org.apache.olingo.odata2.coreMethods in org.apache.olingo.odata2.core that return ODataResponseModifier and TypeMethodDescriptionODataResponseImpl.ODataResponseBuilderImpl.build()Dispatcher.dispatch(ODataHttpMethod method, UriInfoImpl uriInfo, InputStream content, String requestContentType, String contentType) ODataRequestHandler.handle(ODataRequest request) Handles theODataRequestin a way that it results in a correspondingODataResponse.Methods in org.apache.olingo.odata2.core with parameters of type ODataResponseModifier and TypeMethodDescriptionprotected ODataResponse.ODataResponseBuilderODataResponseImpl.ODataResponseBuilderImpl.fromResponse(ODataResponse response) -
Uses of ODataResponse in org.apache.olingo.odata2.core.batch
Methods in org.apache.olingo.odata2.core.batch that return ODataResponseModifier and TypeMethodDescriptionBatchHandlerImpl.handleRequest(ODataRequest suppliedRequest) BatchResponseWriter.writeResponse(List<BatchResponsePart> batchResponseParts) Methods in org.apache.olingo.odata2.core.batch that return types with arguments of type ODataResponseMethod parameters in org.apache.olingo.odata2.core.batch with type arguments of type ODataResponseModifier and TypeMethodDescriptionBatchResponsePartImpl.BatchResponsePartBuilderImpl.responses(List<ODataResponse> responses) -
Uses of ODataResponse in org.apache.olingo.odata2.core.debug
Methods in org.apache.olingo.odata2.core.debug that return ODataResponseConstructors in org.apache.olingo.odata2.core.debug with parameters of type ODataResponseModifierConstructorDescriptionDebugInfoBody(ODataResponse response, String serviceRoot) DebugInfoResponse(ODataResponse response, String serviceRoot) ODataDebugResponseWrapper(ODataContext context, ODataResponse response, UriInfo uriInfo, Exception exception, String debugValue) -
Uses of ODataResponse in org.apache.olingo.odata2.core.ep
Methods in org.apache.olingo.odata2.core.ep that return ODataResponseModifier and TypeMethodDescriptionProviderFacadeImpl.writeBatchResponse(List<BatchResponsePart> batchResponseParts) BasicEntityProvider.writeBinary(String mimeType, byte[] data) Write binary content with content type header set to givenmime typeparameter.ProviderFacadeImpl.writeBinary(String mimeType, byte[] data) AtomEntityProvider.writeEntry(EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) ContentTypeBasedEntityProvider.writeEntry(EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) JsonEntityProvider.writeEntry(EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) ProviderFacadeImpl.writeEntry(String contentType, EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) AtomEntityProvider.writeErrorDocument(HttpStatusCodes status, String errorCode, String message, Locale locale, String innerError) Serializes an error message according to the OData standard.AtomEntityProvider.writeErrorDocument(ODataErrorContext context) Serializes an error message according to the OData standard.ContentTypeBasedEntityProvider.writeErrorDocument(HttpStatusCodes status, String errorCode, String message, Locale locale, String innerError) ContentTypeBasedEntityProvider.writeErrorDocument(ODataErrorContext context) JsonEntityProvider.writeErrorDocument(HttpStatusCodes status, String errorCode, String message, Locale locale, String innerError) Serializes an error message according to the OData standard.JsonEntityProvider.writeErrorDocument(ODataErrorContext context) Serializes an error message according to the OData standard.ProviderFacadeImpl.writeErrorDocument(ODataErrorContext context) AtomEntityProvider.writeFeed(EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) ContentTypeBasedEntityProvider.writeFeed(EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) JsonEntityProvider.writeFeed(EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) ProviderFacadeImpl.writeFeed(String contentType, EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) AtomEntityProvider.writeFunctionImport(EdmFunctionImport functionImport, Object data, EntityProviderWriteProperties properties) ContentTypeBasedEntityProvider.writeFunctionImport(EdmFunctionImport functionImport, Object data, EntityProviderWriteProperties properties) JsonEntityProvider.writeFunctionImport(EdmFunctionImport functionImport, Object data, EntityProviderWriteProperties properties) ProviderFacadeImpl.writeFunctionImport(String contentType, EdmFunctionImport functionImport, Object data, EntityProviderWriteProperties properties) AtomEntityProvider.writeLink(EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) ContentTypeBasedEntityProvider.writeLink(EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) JsonEntityProvider.writeLink(EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) ProviderFacadeImpl.writeLink(String contentType, EdmEntitySet entitySet, Map<String, Object> data, EntityProviderWriteProperties properties) AtomEntityProvider.writeLinks(EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) ContentTypeBasedEntityProvider.writeLinks(EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) JsonEntityProvider.writeLinks(EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) ProviderFacadeImpl.writeLinks(String contentType, EdmEntitySet entitySet, List<Map<String, Object>> data, EntityProviderWriteProperties properties) Writes the metadata in XML format.BasicEntityProvider.writeMetadata(DataServices serviceMetadata, Map<String, String> predefinedNamespaces) Writes the metadata in XML format.ProviderFacadeImpl.writeMetadata(DataServices seriviceMetadata, Map<String, String> predefinedNamespaces) AtomEntityProvider.writeProperty(EdmProperty edmProperty, Object value) ContentTypeBasedEntityProvider.writeProperty(EdmProperty edmProperty, Object value) JsonEntityProvider.writeProperty(EdmProperty edmProperty, Object value) ProviderFacadeImpl.writeProperty(String contentType, EdmProperty edmProperty, Object value) BasicEntityProvider.writePropertyValue(EdmProperty edmProperty, Object value) Write property as binary or as content typetext/plain.ProviderFacadeImpl.writePropertyValue(EdmProperty edmProperty, Object value) AtomEntityProvider.writeServiceDocument(Edm edm, String serviceRoot) Write service document based on givenEdmandservice rootasAtomPub Service Document/code> with charset encoding "utf-8".ContentTypeBasedEntityProvider.writeServiceDocument(Edm edm, String serviceRoot) JsonEntityProvider.writeServiceDocument(Edm edm, String serviceRoot) Writes service document based on givenEdmandservice root.ProviderFacadeImpl.writeServiceDocument(String contentType, Edm edm, String serviceRoot) Write text value as content typetext/plainwith charset parameter set to "utf-8". -
Uses of ODataResponse in org.apache.olingo.odata2.core.rest
Methods in org.apache.olingo.odata2.core.rest that return ODataResponseModifier and TypeMethodDescriptionODataExceptionWrapper.wrapInExceptionResponse(Exception exception) Methods in org.apache.olingo.odata2.core.rest with parameters of type ODataResponseModifier and TypeMethodDescriptionstatic javax.ws.rs.core.ResponseRestUtil.convertResponse(ODataResponse odataResponse) static javax.ws.rs.core.ResponseRestUtil.convertResponse(ODataResponse odataResponse, boolean omitResponseBody) -
Uses of ODataResponse in org.apache.olingo.odata2.core.servlet
Methods in org.apache.olingo.odata2.core.servlet that return ODataResponseModifier and TypeMethodDescriptionODataExceptionWrapper.wrapInExceptionResponse(Exception exception) Methods in org.apache.olingo.odata2.core.servlet with parameters of type ODataResponseModifier and TypeMethodDescriptionprotected voidODataServlet.createResponse(jakarta.servlet.http.HttpServletResponse resp, ODataResponse response) protected voidODataServlet.createResponse(jakarta.servlet.http.HttpServletResponse resp, ODataResponse response, boolean omitResponseBody)