Uses of Class
org.apache.olingo.odata2.api.commons.HttpStatusCodes
-
Packages that use HttpStatusCodes 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 applicationorg.apache.olingo.odata2.api.processor Data Processor -
-
Uses of HttpStatusCodes in org.apache.olingo.odata2.api.commons
Methods in org.apache.olingo.odata2.api.commons that return HttpStatusCodes Modifier and Type Method Description static HttpStatusCodesHttpStatusCodes. fromStatusCode(int statusCode)Convert a numerical status code into the corresponding status enum object.static HttpStatusCodesHttpStatusCodes. 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. -
Uses of HttpStatusCodes in org.apache.olingo.odata2.api.exception
Fields in org.apache.olingo.odata2.api.exception declared as HttpStatusCodes Modifier and Type Field Description protected HttpStatusCodesODataHttpException. httpStatusMethods in org.apache.olingo.odata2.api.exception that return HttpStatusCodes Modifier and Type Method Description HttpStatusCodesODataApplicationException. getHttpStatus()Default HttpStatusCodes.INTERNAL_SERVER_ERRORHttpStatusCodesODataHttpException. getHttpStatus()HttpStatusCodesODataRuntimeApplicationException. getHttpStatus()Default HttpStatusCodes.INTERNAL_SERVER_ERRORConstructors in org.apache.olingo.odata2.api.exception with parameters of type HttpStatusCodes Constructor 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, 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 HttpStatusCodes Modifier and Type Method Description HttpStatusCodesODataErrorContext. 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 HttpStatusCodes Modifier and Type Method Description voidODataErrorContext. setHttpStatus(HttpStatusCodes status)Set http status code that should be returned in error response.abstract ODataResponse.ODataResponseBuilderODataResponse.ODataResponseBuilder. status(HttpStatusCodes status)static ODataResponse.ODataResponseBuilderODataResponse. status(HttpStatusCodes status)
-