Uses of Enum Class
org.apache.olingo.odata2.api.commons.HttpStatusCodes
Packages that use HttpStatusCodes
Package
Description
The commons package contains constants used in the HTTP and OData protocol.
Exception Classes used in the OData library as well as the implementing application
Data Processor
-
Uses of HttpStatusCodes in org.apache.olingo.odata2.api.commons
Methods in org.apache.olingo.odata2.api.commons that return HttpStatusCodesModifier and TypeMethodDescriptionstatic HttpStatusCodesHttpStatusCodes.fromStatusCode(int statusCode) Convert a numerical status code into the corresponding status enum object.static HttpStatusCodesReturns the enum constant of this class with the specified name.static HttpStatusCodes[]HttpStatusCodes.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of HttpStatusCodes in org.apache.olingo.odata2.api.exception
Fields in org.apache.olingo.odata2.api.exception declared as HttpStatusCodesMethods in org.apache.olingo.odata2.api.exception that return HttpStatusCodesModifier and TypeMethodDescriptionODataApplicationException.getHttpStatus()Default HttpStatusCodes.INTERNAL_SERVER_ERRORODataHttpException.getHttpStatus()ODataRuntimeApplicationException.getHttpStatus()Default HttpStatusCodes.INTERNAL_SERVER_ERRORConstructors in org.apache.olingo.odata2.api.exception with parameters of type HttpStatusCodesModifierConstructorDescriptionODataApplicationException(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, Throwable cause, HttpStatusCodes httpStatus) ODataHttpException(MessageReference messageReference, Throwable cause, HttpStatusCodes httpStatus, String errorCode) ODataHttpException(MessageReference messageReference, HttpStatusCodes httpStatus) ODataHttpException(MessageReference messageReference, 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. -
Uses of HttpStatusCodes in org.apache.olingo.odata2.api.processor
Methods in org.apache.olingo.odata2.api.processor that return HttpStatusCodesModifier and TypeMethodDescriptionODataErrorContext.getHttpStatus()Get the status code which will be returned in error response.abstract HttpStatusCodesODataResponse.getStatus()Methods in org.apache.olingo.odata2.api.processor with parameters of type HttpStatusCodesModifier and TypeMethodDescriptionvoidODataErrorContext.setHttpStatus(HttpStatusCodes status) Set http status code that should be returned in error response.abstract ODataResponse.ODataResponseBuilderODataResponse.ODataResponseBuilder.status(HttpStatusCodes status) ODataResponse.status(HttpStatusCodes status) -
Uses of HttpStatusCodes in org.apache.olingo.odata2.core
Methods in org.apache.olingo.odata2.core that return HttpStatusCodesMethods in org.apache.olingo.odata2.core with parameters of type HttpStatusCodesModifier and TypeMethodDescriptionODataResponseImpl.ODataResponseBuilderImpl.status(HttpStatusCodes status) -
Uses of HttpStatusCodes in org.apache.olingo.odata2.core.ep
Methods in org.apache.olingo.odata2.core.ep with parameters of type HttpStatusCodesModifier and TypeMethodDescriptionAtomEntityProvider.writeErrorDocument(HttpStatusCodes status, String errorCode, String message, Locale locale, String innerError) Serializes an error message according to the OData standard.ContentTypeBasedEntityProvider.writeErrorDocument(HttpStatusCodes status, String errorCode, String message, Locale locale, String innerError) JsonEntityProvider.writeErrorDocument(HttpStatusCodes status, String errorCode, String message, Locale locale, String innerError) Serializes an error message according to the OData standard.