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
|
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 |
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.
|
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.