| Package | Description |
|---|---|
| org.apache.olingo.server.api |
Olingo Server API
|
| org.apache.olingo.server.api.processor |
Olingo Processors
|
| org.apache.olingo.server.api.serializer |
Olingo Server API - Serializer
|
| org.apache.olingo.server.core | |
| org.apache.olingo.server.core.serializer.json | |
| org.apache.olingo.server.core.serializer.xml |
| Modifier and Type | Method and Description |
|---|---|
ODataServerError |
ODataServerError.setAdditionalProperties(Map<String,Object> additionalProperties)
Sets server defined key-value pairs.
|
ODataServerError |
ODataServerError.setCode(String code)
The value for the code name/value pair is a language-independent string.
|
ODataServerError |
ODataServerError.setDetails(List<ODataErrorDetail> details)
Sets error details.
|
ODataServerError |
ODataServerError.setException(Exception exception)
Sets the exception.
|
ODataServerError |
ODataServerError.setInnerError(Map<String,String> innerError)
Sets server defined key-value pairs for debug environment only.
|
ODataServerError |
ODataServerError.setLocale(Locale locale)
Sets the locale.
|
ODataServerError |
ODataServerError.setMessage(String message)
The value for the message name/value pair MUST be a human-readable,
language-dependent representation of the error.
|
ODataServerError |
ODataServerError.setStatusCode(int statusCode)
Sets the status code.
|
ODataServerError |
ODataServerError.setTarget(String target)
The value for the target name/value pair is the target of the particular error (for example, the name of the
property in error).
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorProcessor.processError(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
ContentType responseFormat)
Processes an error/exception.
|
void |
DefaultProcessor.processError(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
ContentType requestedContentType) |
| Modifier and Type | Method and Description |
|---|---|
SerializerResult |
ODataSerializer.error(ODataServerError error)
Writes an ODataError into an InputStream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ODataHandlerImpl.handleException(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
SerializerResult |
ODataJsonSerializer.error(ODataServerError error) |
| Modifier and Type | Method and Description |
|---|---|
SerializerResult |
ODataXmlSerializer.error(ODataServerError error) |
Copyright © 2023. All rights reserved.