Package | Description |
---|---|
org.apache.olingo.odata2.api.batch | |
org.apache.olingo.odata2.api.edm |
Entity Data Model API
The Entity Data Model is described in the OData protocol specification
as well as in the Conceptual Schema Definition for the OData Protocol.
|
org.apache.olingo.odata2.api.ep |
Entity Provider
The org.apache.olingo.odata2.api.ep package contains all classes related and necessary to provide an
EntityProvider . |
org.apache.olingo.odata2.api.exception |
Exception Classes used in the OData library as well as the implementing application
APPLICATION DEVELOPERS: Please use
ODataApplicationException for
custom exceptions. |
org.apache.olingo.odata2.api.rt |
Runtime Support
Provides a mechanism for loading of implementation classes for interfaces.
|
org.apache.olingo.odata2.api.uri |
URI Parser Facade
The URI package has one central class
UriParser to parse a request URI
as well as several interfaces that provide access to parsed parts of the URI. |
org.apache.olingo.odata2.api.uri.expression |
Expression Parser
This package contains all classes necessary to decribe an expression tree(e.g. a filter or order by tree)
Trees can be traversed by implementing the
ExpressionVisitor
interface and calling the accept() method. |
Modifier and Type | Class and Description |
---|---|
class |
BatchException |
Modifier and Type | Class and Description |
---|---|
class |
EdmException |
class |
EdmLiteralException |
class |
EdmSimpleTypeException |
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 |
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 |
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 |
---|---|
ODataMessageException |
ODataException.getMessageExceptionCause()
Search for and return first (from top)
ODataMessageException in the cause hierarchy. |
Modifier and Type | Method and Description |
---|---|
protected static MessageReference |
ODataMessageException.createMessageReference(Class<? extends ODataMessageException> clazz,
String messageReferenceKey)
Creates
MessageReference objects more conveniently. |
Modifier and Type | Method and Description |
---|---|
static String |
RuntimeDelegate.extractExceptionMessage(ODataMessageException exception)
Extract message of
ODataMessageException and return it as a string. |
abstract String |
RuntimeDelegate.RuntimeDelegateInstance.extractExceptionMessage(ODataMessageException exception)
Extract message of
ODataMessageException and return it as a string. |
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 |
---|---|
static FilterExpression |
UriParser.parseFilter(Edm edm,
EdmEntityType edmType,
String expression)
Parses a $filter expression string and create an expression tree.
|
abstract FilterExpression |
UriParser.parseFilterString(EdmEntityType edmType,
String expression)
Parses a $filter expression string and create an expression tree.
|
static OrderByExpression |
UriParser.parseOrderBy(Edm edm,
EdmEntityType edmType,
String expression)
Parses a $orderby expression string and creates an expression tree.
|
abstract OrderByExpression |
UriParser.parseOrderByString(EdmEntityType edmType,
String expression)
Parses a $orderby expression string and creates an expression tree.
|
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
|
Copyright © 2013-2019 The Apache Software Foundation. All Rights Reserved.