Package | Description |
---|---|
org.apache.olingo.odata2.api.commons |
The commons package contains constants used in the HTTP and OData protocol.
|
org.apache.olingo.odata2.api.exception |
Exception Classes used in the OData library as well as the implementing application
|
org.apache.olingo.odata2.api.processor |
Data Processor
|
Modifier and Type | Method and Description |
---|---|
static HttpStatusCodes |
HttpStatusCodes.fromStatusCode(int statusCode)
Convert a numerical status code into the corresponding status enum object.
|
static HttpStatusCodes |
HttpStatusCodes.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatusCodes[] |
HttpStatusCodes.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected HttpStatusCodes |
ODataHttpException.httpStatus |
Modifier and Type | Method and Description |
---|---|
HttpStatusCodes |
ODataRuntimeApplicationException.getHttpStatus()
Default HttpStatusCodes.INTERNAL_SERVER_ERROR
|
HttpStatusCodes |
ODataHttpException.getHttpStatus() |
HttpStatusCodes |
ODataApplicationException.getHttpStatus()
Default HttpStatusCodes.INTERNAL_SERVER_ERROR
|
Constructor and Description |
---|
ODataApplicationException(String message,
Locale locale,
HttpStatusCodes status)
Since this is a translated application exception locale must not be null.
|
ODataApplicationException(String message,
Locale locale,
HttpStatusCodes status,
String errorCode)
Since this is a translated application exception locale must not be null.
|
ODataApplicationException(String message,
Locale locale,
HttpStatusCodes status,
String errorCode,
Throwable e)
Since this is a translated application exception locale must not be null.
|
ODataApplicationException(String message,
Locale locale,
HttpStatusCodes status,
Throwable e)
Since this is a translated application exception locale must not be null.
|
ODataHttpException(MessageReference messageReference,
HttpStatusCodes httpStatus) |
ODataHttpException(MessageReference messageReference,
HttpStatusCodes httpStatus,
String errorCode) |
ODataHttpException(MessageReference messageReference,
Throwable cause,
HttpStatusCodes httpStatus) |
ODataHttpException(MessageReference messageReference,
Throwable cause,
HttpStatusCodes httpStatus,
String errorCode) |
ODataRuntimeApplicationException(String message,
Locale locale,
HttpStatusCodes status)
Since this is a translated application exception locale must not be null.
|
ODataRuntimeApplicationException(String message,
Locale locale,
HttpStatusCodes status,
String errorCode)
Since this is a translated application exception locale must not be null.
|
ODataRuntimeApplicationException(String message,
Locale locale,
HttpStatusCodes status,
String errorCode,
Throwable e)
Since this is a translated application exception locale must not be null.
|
ODataRuntimeApplicationException(String message,
Locale locale,
HttpStatusCodes status,
Throwable e)
Since this is a translated application exception locale must not be null.
|
Modifier and Type | Method and Description |
---|---|
HttpStatusCodes |
ODataErrorContext.getHttpStatus()
Get the status code which will be returned in error response.
|
abstract HttpStatusCodes |
ODataResponse.getStatus() |
Modifier and Type | Method and Description |
---|---|
void |
ODataErrorContext.setHttpStatus(HttpStatusCodes status)
Set http status code that should be returned in error response.
|
static ODataResponse.ODataResponseBuilder |
ODataResponse.status(HttpStatusCodes status) |
abstract ODataResponse.ODataResponseBuilder |
ODataResponse.ODataResponseBuilder.status(HttpStatusCodes status) |
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.