| Modifier and Type | Class and Description |
|---|---|
class |
BatchException |
| Modifier and Type | Method and Description |
|---|---|
BatchResponsePart |
BatchHandler.handleBatchPart(BatchRequestPart batchRequestPart)
Handles the
BatchRequestPart in a way that it results in a corresponding BatchResponsePart. |
ODataResponse |
BatchHandler.handleRequest(ODataRequest request)
Delegates a handling of the request
ODataRequest to the request handler and provides ODataResponse
ODataResponse. |
| Modifier and Type | Class and Description |
|---|---|
class |
EdmException |
class |
EdmLiteralException |
class |
EdmSimpleTypeException |
| Modifier and Type | Method and Description |
|---|---|
String |
EdmServiceMetadata.getDataServiceVersion() |
List<EdmEntitySetInfo> |
EdmServiceMetadata.getEntitySetInfos() |
InputStream |
EdmServiceMetadata.getMetadata() |
| Modifier and Type | Method and Description |
|---|---|
List<AliasInfo> |
EdmProvider.getAliasInfos()
This method should return a list of all defined aliases and their associated namespace.
|
Association |
EdmProvider.getAssociation(FullQualifiedName edmFQName)
This method should return an
Association or null if nothing is found |
AssociationSet |
EdmProvider.getAssociationSet(String entityContainer,
FullQualifiedName association,
String sourceEntitySetName,
String sourceEntitySetRole)
This method should return an
AssociationSet or null if nothing is found |
ComplexType |
EdmProvider.getComplexType(FullQualifiedName edmFQName)
This method should return a
ComplexType or null if nothing is found |
EntityContainerInfo |
EdmProvider.getEntityContainerInfo(String name)
This method should return an
EntityContainerInfo or null if nothing is found |
EntitySet |
EdmProvider.getEntitySet(String entityContainer,
String name)
This method should return an
EntitySet or null if nothing is found |
EntityType |
EdmProvider.getEntityType(FullQualifiedName edmFQName)
This method should return an
EntityType or null if nothing is found |
FunctionImport |
EdmProvider.getFunctionImport(String entityContainer,
String name)
This method should return a
FunctionImport or null if nothing is found |
List<Schema> |
EdmProvider.getSchemas()
This method should return a collection of all
Schema or null if nothing is found |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityProviderException
An
EntityProviderException is the base exception for all EntityProvider related exceptions. |
| Modifier and Type | Class and Description |
|---|---|
class |
ODataApplicationException
This class represents a translated application exception.
|
class |
ODataBadRequestException
Exceptions of this class will result in a HTTP status 400 bad request
|
class |
ODataConflictException
Exceptions of this class will result in a HTTP status 409 Conflict
|
class |
ODataForbiddenException
Exceptions of this class will result in a HTTP status 403 forbidden
|
class |
ODataHttpException
ODataMessageException with a HTTP status code. |
class |
ODataInternalServerErrorException |
class |
ODataMessageException
DO NOT EXTEND THIS EXCEPTION
|
class |
ODataMethodNotAllowedException
Exceptions of this class will result in a HTTP status 405 (method not allowed).
|
class |
ODataNotAcceptableException
Exceptions of this class will result in a HTTP status 406 not acceptable
|
class |
ODataNotFoundException
Exceptions of this class will result in a HTTP status 404 not found
|
class |
ODataNotImplementedException
Exceptions of this class will result in a HTTP status 501 (Not implemented).
|
class |
ODataPreconditionFailedException
Exceptions of this class will result in a HTTP Status 412 Precondition Failed.
|
class |
ODataPreconditionRequiredException
Exceptions of this class will result in a HTTP status 428 precondition required
|
class |
ODataServiceUnavailableException
Exceptions of this class will result in a HTTP status 503 service unavailable
|
class |
ODataUnsupportedMediaTypeException
Exceptions of this class will result in a HTTP status 415 unsupported media type
|
| Modifier and Type | Method and Description |
|---|---|
static MessageReference |
MessageReference.create(Class<? extends ODataException> clazz,
String key)
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
CustomContentType.getCustomContentTypes(Class<? extends ODataProcessor> processorFeature)
The OData library will consider these additional content types during negotiation of http content type header.
|
| 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 |
BatchResponsePart |
BatchProcessor.executeChangeSet(BatchHandler handler,
List<ODataRequest> requests)
Executes a Change Set and provide BatchResponsePart as
BatchResponsePart that contains the responses to
change requests. |
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 |
UriNotMatchingException
URI-parsing exception resulting in a 404 Not Found response.
|
class |
UriSyntaxException
Exception for violation of the OData URI construction rules,
resulting in a 400 Bad Request response.
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<KeyPredicate> |
UriParser.getKeyFromEntityLink(EdmEntitySet entitySet,
String entityLink,
URI serviceRoot)
Retrieves the key predicates from a canonical link to an entity.
|
static List<KeyPredicate> |
UriParser.getKeyPredicatesFromEntityLink(EdmEntitySet entitySet,
String entityLink,
URI serviceRoot)
Retrieves the key predicates from a canonical link to an entity.
|
static UriInfo |
UriParser.parse(Edm edm,
List<PathSegment> pathSegments,
Map<String,String> queryParameters)
Parses path segments and query parameters for the given EDM.
|
static UriInfo |
UriParser.parse(Edm edm,
List<PathSegment> pathSegments,
Map<String,String> queryParameters,
boolean strictFilter)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExceptionVisitExpression
Exception thrown while traversing/visiting a filter expression tree
|
class |
ExpressionParserException
Exception thrown while parsing a filter or orderby expression
|
| Modifier and Type | Method and Description |
|---|---|
ODataResponse |
Dispatcher.dispatch(ODataHttpMethod method,
UriInfoImpl uriInfo,
InputStream content,
String requestContentType,
String contentType) |
ContentType |
ContentNegotiator.doContentNegotiation(ODataRequest odataRequest,
UriInfoImpl uriInfo,
List<String> supportedContentTypes)
Do the content negotiation for
accept header value based on
requested content type (in HTTP accept header from ODataRequest)
in combination with uri information from UriInfo and from given supported
content types (via
supportedContentTypes). |
PathInfo |
ODataContextImpl.getPathInfo() |
ODataService |
ODataContextImpl.getService() |
| Modifier and Type | Method and Description |
|---|---|
BatchResponsePart |
BatchHandlerImpl.handleBatchPart(BatchRequestPart batchPart) |
ODataResponse |
BatchHandlerImpl.handleRequest(ODataRequest suppliedRequest) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<String,String> |
EdmImpl.createAliasToNamespaceInfo() |
protected abstract EdmAssociation |
EdmImpl.createAssociation(FullQualifiedName fqName) |
protected abstract EdmComplexType |
EdmImpl.createComplexType(FullQualifiedName fqName) |
protected abstract EdmEntityContainer |
EdmImpl.createEntityContainer(String name) |
protected abstract List<EdmEntitySet> |
EdmImpl.createEntitySets() |
protected abstract EdmEntityType |
EdmImpl.createEntityType(FullQualifiedName fqName) |
protected abstract List<EdmFunctionImport> |
EdmImpl.createFunctionImports() |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityProviderProducerException |
| Modifier and Type | Method and Description |
|---|---|
static PathInfoImpl |
RestUtil.buildODataPathInfo(SubLocatorParameter param) |
static <T> InputStream |
RestUtil.contentAsStream(T content) |
static ODataSubLocator |
ODataSubLocator.create(SubLocatorParameter param) |
static javax.servlet.ServletInputStream |
RestUtil.extractRequestContent(SubLocatorParameter param)
Extracts the request content from the servlet as input stream.
|
javax.ws.rs.core.Response |
ODataSubLocator.handleDelete() |
javax.ws.rs.core.Response |
ODataSubLocator.handleGet() |
javax.ws.rs.core.Response |
ODataSubLocator.handleHead() |
javax.ws.rs.core.Response |
ODataSubLocator.handleMerge() |
javax.ws.rs.core.Response |
ODataSubLocator.handleOptions() |
javax.ws.rs.core.Response |
ODataSubLocator.handlePatch() |
javax.ws.rs.core.Response |
ODataSubLocator.handlePost(String xHttpMethod) |
javax.ws.rs.core.Response |
ODataSubLocator.handlePut() |
Object |
ODataRootLocator.handleRequest(List<javax.ws.rs.core.PathSegment> pathSegments,
String xHttpMethod,
String xHttpMethodOverride)
Default root behavior which will delegate all paths to a ODataLocator.
|
| Modifier and Type | Method and Description |
|---|---|
static PathInfo |
RestUtil.buildODataPathInfo(javax.servlet.http.HttpServletRequest req,
int pathSplit) |
| Modifier and Type | Method and Description |
|---|---|
List<KeyPredicate> |
UriParserImpl.getKeyFromEntityLink(EdmEntitySet entitySet,
String entityLink,
URI serviceRoot) |
| Modifier and Type | Class and Description |
|---|---|
class |
ExpressionParserInternalError
Internal error in the expression parser.
|
class |
FilterParserExceptionImpl
This class is used to create exceptions of type FilterParserException.
|
class |
TokenizerException
This exception is thrown if there is an error during tokenizing.
This exception in not in the public API, but may be added as cause for the ExpressionParserException exception. |
class |
TokenizerExpectError
This exception is thrown if a token should be read
from the top of the
TokenList which does not match an
expected token. |
Copyright © 2020. All rights reserved.