Package | Description |
---|---|
org.apache.olingo.server.api |
Olingo Server API
The OData Library is a protocol implementation of the OData V4.0 standard.
|
org.apache.olingo.server.api.processor |
Olingo Processors
Processors are used to handle OData requests and send back the OData reponse.
|
org.apache.olingo.server.api.serializer |
Olingo Server API - Serializer
The serializer package is used to condense all about the Olingo serialization.
|
Modifier and Type | Method and Description |
---|---|
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 |
DefaultProcessor.processError(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
ContentType requestedContentType) |
void |
ErrorProcessor.processError(ODataRequest request,
ODataResponse response,
ODataServerError serverError,
ContentType responseFormat)
Processes an error/exception.
|
Modifier and Type | Method and Description |
---|---|
SerializerResult |
ODataSerializer.error(ODataServerError error)
Writes an ODataError into an InputStream.
|
Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.