| Package | Description |
|---|---|
| org.apache.olingo.odata2.api |
OData Library API
|
| org.apache.olingo.odata2.api.batch | |
| org.apache.olingo.odata2.api.ep |
Entity Provider
|
| org.apache.olingo.odata2.api.processor |
Data Processor
|
| org.apache.olingo.odata2.api.processor.part |
Processor Parts
|
| org.apache.olingo.odata2.core | |
| org.apache.olingo.odata2.core.batch | |
| org.apache.olingo.odata2.core.debug | |
| org.apache.olingo.odata2.core.ep | |
| org.apache.olingo.odata2.core.rest | |
| org.apache.olingo.odata2.core.servlet |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ODataDebugResponseWrapperCallback.handle(ODataContext context,
ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
Exception exception)
Handles the output of a response helpful in case of debugging.
|
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ODataDebugResponseWrapperCallback.handle(ODataContext context,
ODataRequest request,
ODataResponse response,
UriInfo uriInfo,
Exception exception)
Handles the output of a response helpful in case of debugging.
|
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
BatchHandler.handleRequest(ODataRequest request)
Delegates a handling of the request
ODataRequest to the request handler and provides ODataResponse
ODataResponse. |
| Modifier and Type | Method and Description |
|---|---|
abstract List<ODataResponse> |
BatchResponsePart.getResponses()
Get responses.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchResponsePart.BatchResponsePartBuilder |
BatchResponsePart.responses(List<ODataResponse> responses) |
abstract BatchResponsePart.BatchResponsePartBuilder |
BatchResponsePart.BatchResponsePartBuilder.responses(List<ODataResponse> responses) |
| Modifier and Type | Method and Description |
|---|---|
static ODataResponse |
EntityProvider.writeBatchResponse(List<BatchResponsePart> batchResponseParts)
Write responses of Batch Response Parts in Batch Response as
ODataResponse. |
ODataResponse |
EntityProvider.EntityProviderInterface.writeBatchResponse(List<BatchResponsePart> batchResponseParts)
Write responses of Batch Response Parts in Batch Response as
ODataResponse. |
static ODataResponse |
EntityProvider.writeBinary(String mimeType,
byte[] data)
Write binary content with content type header set to given
mime type parameter. |
ODataResponse |
EntityProvider.EntityProviderInterface.writeBinary(String mimeType,
byte[] data)
Write binary content with content type header set to given
mime type parameter. |
static ODataResponse |
EntityProvider.writeEntry(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write given
data (which is given in form of a Map for which contains all properties
as property name to property value mapping) for the entry in the specified
format (given as contentType) based on entity data model for an entity set (given as
EdmEntitySet)
and properties for this entity provider (given as EntityProviderWriteProperties). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeEntry(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write given
data (which is given in form of a Map for which contains all properties
as property name to property value mapping) for the entry in the specified
format (given as contentType) based on entity data model for an entity set (given as
EdmEntitySet)
and properties for this entity provider (given as EntityProviderWriteProperties). |
static ODataResponse |
EntityProvider.writeErrorDocument(ODataErrorContext context)
Serializes an error message according to the OData standard.
|
ODataResponse |
EntityProvider.EntityProviderInterface.writeErrorDocument(ODataErrorContext context)
Serializes an error message according to the OData standard.
|
static ODataResponse |
EntityProvider.writeFeed(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
|
ODataResponse |
EntityProvider.EntityProviderInterface.writeFeed(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
|
static ODataResponse |
EntityProvider.writeFunctionImport(String contentType,
EdmFunctionImport functionImport,
Object data,
EntityProviderWriteProperties properties)
Write
data result (given as Object) of function import based on return type
of EdmFunctionImport in specified format (given as contentType). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeFunctionImport(String contentType,
EdmFunctionImport functionImport,
Object data,
EntityProviderWriteProperties properties)
Write
data result (given as Object) of function import based on return type
of EdmFunctionImport in specified format (given as contentType). |
static ODataResponse |
EntityProvider.writeLink(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write link for key property based on
entity data model for an entity set (given as
EdmEntitySet)
in the specified format (given as contentType). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeLink(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties)
Write link for key property based on
entity data model for an entity set (given as
EdmEntitySet)
in the specified format (given as contentType). |
static ODataResponse |
EntityProvider.writeLinks(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
Write all links for key property based on
entity data model for an entity set (given as
EdmEntitySet)
in the specified format (given as contentType) for a set of entries. |
ODataResponse |
EntityProvider.EntityProviderInterface.writeLinks(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties)
Write all links for key property based on
entity data model for an entity set (given as
EdmEntitySet)
in the specified format (given as contentType) for a set of entries. |
static ODataResponse |
EntityProvider.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.
|
ODataResponse |
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 ODataResponse |
EntityProvider.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.
|
ODataResponse |
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.
|
static ODataResponse |
EntityProvider.writeProperty(String contentType,
EdmProperty edmProperty,
Object value)
Write given
value (which is given in form of an Object) for the property in the specified
format (given as contentType) based on given entity data model for an entity property
(given as EdmProperty). |
ODataResponse |
EntityProvider.EntityProviderInterface.writeProperty(String contentType,
EdmProperty edmProperty,
Object value)
Write given
value (which is given in form of an Object) for the property in the specified
format (given as contentType) based on given entity data model for an entity property
(given as EdmProperty). |
static ODataResponse |
EntityProvider.writePropertyValue(EdmProperty edmProperty,
Object value)
Write property as content type
application/octet-stream or text/plain. |
ODataResponse |
EntityProvider.EntityProviderInterface.writePropertyValue(EdmProperty edmProperty,
Object value)
Write property as content type
application/octet-stream or text/plain. |
static ODataResponse |
EntityProvider.writeServiceDocument(String contentType,
Edm edm,
String serviceRoot)
Write service document based on given
Edm and service root as
given content type. |
ODataResponse |
EntityProvider.EntityProviderInterface.writeServiceDocument(String contentType,
Edm edm,
String serviceRoot)
Write service document based on given
Edm and service root as
given content type. |
static ODataResponse |
EntityProvider.writeText(String value)
Write text value as content type
text/plain. |
ODataResponse |
EntityProvider.EntityProviderInterface.writeText(String value)
Write text value as content type
text/plain. |
| Modifier and Type | Method and Description |
|---|---|
static ODataResponse.ODataResponseBuilder |
ODataResponse.fromResponse(ODataResponse response) |
protected abstract ODataResponse.ODataResponseBuilder |
ODataResponse.ODataResponseBuilder.fromResponse(ODataResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
EntityLinksProcessor.countEntityLinks(GetEntitySetLinksCountUriInfo uriInfo,
String contentType)
Counts the number of target entities of a navigation property.
|
ODataResponse |
EntitySetProcessor.countEntitySet(GetEntitySetCountUriInfo uriInfo,
String contentType)
Counts the number of requested entities.
|
ODataResponse |
EntitySetProcessor.createEntity(PostUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Creates an entity.
|
ODataResponse |
EntityLinksProcessor.createEntityLink(PostUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Creates a new link to a target entity of a navigation property.
|
ODataResponse |
EntityProcessor.deleteEntity(DeleteUriInfo uriInfo,
String contentType)
Deletes an entity.
|
ODataResponse |
EntityLinkProcessor.deleteEntityLink(DeleteUriInfo uriInfo,
String contentType)
Deletes the link to the target entity of a navigation property.
|
ODataResponse |
EntityMediaProcessor.deleteEntityMedia(DeleteUriInfo uriInfo,
String contentType)
Deletes the media resource of an entity.
|
ODataResponse |
EntitySimplePropertyValueProcessor.deleteEntitySimplePropertyValue(DeleteUriInfo uriInfo,
String contentType)
Deletes the value of a simple property of an entity.
|
ODataResponse |
BatchProcessor.executeBatch(BatchHandler handler,
String contentType,
InputStream content)
Executes a OData batch request and provide Batch Response as
ODataResponse |
ODataResponse |
FunctionImportProcessor.executeFunctionImport(GetFunctionImportUriInfo uriInfo,
String contentType)
Executes a function import and returns the result.
|
ODataResponse |
FunctionImportValueProcessor.executeFunctionImportValue(GetFunctionImportUriInfo uriInfo,
String contentType)
Returns the unformatted value of a function import.
|
ODataResponse |
EntityProcessor.existsEntity(GetEntityCountUriInfo uriInfo,
String contentType)
Checks whether an entity exists.
|
ODataResponse |
EntityLinkProcessor.existsEntityLink(GetEntityLinkCountUriInfo uriInfo,
String contentType)
Returns whether the target entity of a navigation property exists.
|
ODataResponse |
EntityProcessor.readEntity(GetEntityUriInfo uriInfo,
String contentType)
Reads an entity.
|
ODataResponse |
EntityComplexPropertyProcessor.readEntityComplexProperty(GetComplexPropertyUriInfo uriInfo,
String contentType)
Reads a complex property of an entity.
|
ODataResponse |
EntityLinkProcessor.readEntityLink(GetEntityLinkUriInfo uriInfo,
String contentType)
Reads the URI of the target entity of a navigation property.
|
ODataResponse |
EntityLinksProcessor.readEntityLinks(GetEntitySetLinksUriInfo uriInfo,
String contentType)
Reads the URIs of the target entities of a navigation property.
|
ODataResponse |
EntityMediaProcessor.readEntityMedia(GetMediaResourceUriInfo uriInfo,
String contentType)
Reads the media resource of an entity.
|
ODataResponse |
EntitySetProcessor.readEntitySet(GetEntitySetUriInfo uriInfo,
String contentType)
Reads entities.
|
ODataResponse |
EntitySimplePropertyProcessor.readEntitySimpleProperty(GetSimplePropertyUriInfo uriInfo,
String contentType)
Reads a simple property of an entity.
|
ODataResponse |
EntitySimplePropertyValueProcessor.readEntitySimplePropertyValue(GetSimplePropertyUriInfo uriInfo,
String contentType)
Reads the unformatted value of a simple property of an entity.
|
ODataResponse |
MetadataProcessor.readMetadata(GetMetadataUriInfo uriInfo,
String contentType) |
ODataResponse |
ServiceDocumentProcessor.readServiceDocument(GetServiceDocumentUriInfo uriInfo,
String contentType) |
ODataResponse |
EntityProcessor.updateEntity(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
boolean merge,
String contentType)
Updates an entity.
|
ODataResponse |
EntityComplexPropertyProcessor.updateEntityComplexProperty(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
boolean merge,
String contentType)
Updates a complex property of an entity.
|
ODataResponse |
EntityLinkProcessor.updateEntityLink(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Updates the link to the target entity of a navigation property.
|
ODataResponse |
EntityMediaProcessor.updateEntityMedia(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Updates the media resource of an entity.
|
ODataResponse |
EntitySimplePropertyProcessor.updateEntitySimpleProperty(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Updates a simple property of an entity.
|
ODataResponse |
EntitySimplePropertyValueProcessor.updateEntitySimplePropertyValue(PutMergePatchUriInfo uriInfo,
InputStream content,
String requestContentType,
String contentType)
Updates a simple property of an entity with an unformatted value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ODataResponseImpl |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ODataResponseImpl.ODataResponseBuilderImpl.build() |
ODataResponse |
Dispatcher.dispatch(ODataHttpMethod method,
UriInfoImpl uriInfo,
InputStream content,
String requestContentType,
String contentType) |
ODataResponse |
ODataRequestHandler.handle(ODataRequest request)
Handles the
ODataRequest in a way that it results in a corresponding ODataResponse. |
| Modifier and Type | Method and Description |
|---|---|
protected ODataResponse.ODataResponseBuilder |
ODataResponseImpl.ODataResponseBuilderImpl.fromResponse(ODataResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
BatchHandlerImpl.handleRequest(ODataRequest suppliedRequest) |
ODataResponse |
BatchResponseWriter.writeResponse(List<BatchResponsePart> batchResponseParts) |
| Modifier and Type | Method and Description |
|---|---|
List<ODataResponse> |
BatchResponsePartImpl.getResponses() |
| Modifier and Type | Method and Description |
|---|---|
BatchResponsePart.BatchResponsePartBuilder |
BatchResponsePartImpl.BatchResponsePartBuilderImpl.responses(List<ODataResponse> responses) |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ODataDebugResponseWrapper.wrapResponse() |
| Constructor and Description |
|---|
DebugInfoBody(ODataResponse response,
String serviceRoot) |
DebugInfoResponse(ODataResponse response,
String serviceRoot) |
ODataDebugResponseWrapper(ODataContext context,
ODataResponse response,
UriInfo uriInfo,
Exception exception,
String debugValue) |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ProviderFacadeImpl.writeBatchResponse(List<BatchResponsePart> batchResponseParts) |
ODataResponse |
ProviderFacadeImpl.writeBinary(String mimeType,
byte[] data) |
ODataResponse |
BasicEntityProvider.writeBinary(String mimeType,
byte[] data)
Write binary content with content type header set to given
mime type parameter. |
ODataResponse |
JsonEntityProvider.writeEntry(EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ContentTypeBasedEntityProvider.writeEntry(EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
AtomEntityProvider.writeEntry(EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ProviderFacadeImpl.writeEntry(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
JsonEntityProvider.writeErrorDocument(HttpStatusCodes status,
String errorCode,
String message,
Locale locale,
String innerError)
Serializes an error message according to the OData standard.
|
ODataResponse |
ContentTypeBasedEntityProvider.writeErrorDocument(HttpStatusCodes status,
String errorCode,
String message,
Locale locale,
String innerError) |
ODataResponse |
AtomEntityProvider.writeErrorDocument(HttpStatusCodes status,
String errorCode,
String message,
Locale locale,
String innerError)
Serializes an error message according to the OData standard.
|
ODataResponse |
ProviderFacadeImpl.writeErrorDocument(ODataErrorContext context) |
ODataResponse |
JsonEntityProvider.writeErrorDocument(ODataErrorContext context)
Serializes an error message according to the OData standard.
|
ODataResponse |
ContentTypeBasedEntityProvider.writeErrorDocument(ODataErrorContext context) |
ODataResponse |
AtomEntityProvider.writeErrorDocument(ODataErrorContext context)
Serializes an error message according to the OData standard.
|
ODataResponse |
JsonEntityProvider.writeFeed(EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ContentTypeBasedEntityProvider.writeFeed(EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
AtomEntityProvider.writeFeed(EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ProviderFacadeImpl.writeFeed(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
JsonEntityProvider.writeFunctionImport(EdmFunctionImport functionImport,
Object data,
EntityProviderWriteProperties properties) |
ODataResponse |
ContentTypeBasedEntityProvider.writeFunctionImport(EdmFunctionImport functionImport,
Object data,
EntityProviderWriteProperties properties) |
ODataResponse |
AtomEntityProvider.writeFunctionImport(EdmFunctionImport functionImport,
Object data,
EntityProviderWriteProperties properties) |
ODataResponse |
ProviderFacadeImpl.writeFunctionImport(String contentType,
EdmFunctionImport functionImport,
Object data,
EntityProviderWriteProperties properties) |
ODataResponse |
JsonEntityProvider.writeLink(EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ContentTypeBasedEntityProvider.writeLink(EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
AtomEntityProvider.writeLink(EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ProviderFacadeImpl.writeLink(String contentType,
EdmEntitySet entitySet,
Map<String,Object> data,
EntityProviderWriteProperties properties) |
ODataResponse |
JsonEntityProvider.writeLinks(EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ContentTypeBasedEntityProvider.writeLinks(EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
AtomEntityProvider.writeLinks(EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ProviderFacadeImpl.writeLinks(String contentType,
EdmEntitySet entitySet,
List<Map<String,Object>> data,
EntityProviderWriteProperties properties) |
ODataResponse |
ProviderFacadeImpl.writeMetadata(DataServices seriviceMetadata,
Map<String,String> predefinedNamespaces) |
ODataResponse |
BasicEntityProvider.writeMetadata(DataServices serviceMetadata,
Map<String,String> predefinedNamespaces)
Writes the metadata in XML format.
|
ODataResponse |
ProviderFacadeImpl.writeMetadata(List<Schema> schemas,
Map<String,String> predefinedNamespaces) |
ODataResponse |
BasicEntityProvider.writeMetadata(List<Schema> schemas,
Map<String,String> predefinedNamespaces)
Writes the metadata in XML format.
|
ODataResponse |
JsonEntityProvider.writeProperty(EdmProperty edmProperty,
Object value) |
ODataResponse |
ContentTypeBasedEntityProvider.writeProperty(EdmProperty edmProperty,
Object value) |
ODataResponse |
AtomEntityProvider.writeProperty(EdmProperty edmProperty,
Object value) |
ODataResponse |
ProviderFacadeImpl.writeProperty(String contentType,
EdmProperty edmProperty,
Object value) |
ODataResponse |
ProviderFacadeImpl.writePropertyValue(EdmProperty edmProperty,
Object value) |
ODataResponse |
BasicEntityProvider.writePropertyValue(EdmProperty edmProperty,
Object value)
Write property as binary or as content type
text/plain. |
ODataResponse |
JsonEntityProvider.writeServiceDocument(Edm edm,
String serviceRoot)
Writes service document based on given
Edm and service root. |
ODataResponse |
ContentTypeBasedEntityProvider.writeServiceDocument(Edm edm,
String serviceRoot) |
ODataResponse |
AtomEntityProvider.writeServiceDocument(Edm edm,
String serviceRoot)
Write service document based on given
Edm and service root as
AtomPub Service Document/code> with charset encoding . |
ODataResponse |
ProviderFacadeImpl.writeServiceDocument(String contentType,
Edm edm,
String serviceRoot) |
ODataResponse |
ProviderFacadeImpl.writeText(String value) |
ODataResponse |
BasicEntityProvider.writeText(String value)
Write text value as content type
text/plain with charset parameter set to . |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ODataExceptionWrapper.wrapInExceptionResponse(Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Response |
RestUtil.convertResponse(ODataResponse odataResponse) |
static javax.ws.rs.core.Response |
RestUtil.convertResponse(ODataResponse odataResponse,
boolean omitResponseBody) |
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
ODataExceptionWrapper.wrapInExceptionResponse(Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ODataServlet.createResponse(javax.servlet.http.HttpServletResponse resp,
ODataResponse response) |
protected void |
ODataServlet.createResponse(javax.servlet.http.HttpServletResponse resp,
ODataResponse response,
boolean omitResponseBody) |
Copyright © 2020. All rights reserved.