Uses of Class
org.apache.olingo.odata2.api.commons.HttpStatusCodes

Packages that use HttpStatusCodes
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 
 

Uses of HttpStatusCodes in org.apache.olingo.odata2.api.commons
 

Methods in org.apache.olingo.odata2.api.commons that return HttpStatusCodes
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.
 

Uses of HttpStatusCodes in org.apache.olingo.odata2.api.exception
 

Fields in org.apache.olingo.odata2.api.exception declared as HttpStatusCodes
protected  HttpStatusCodes ODataHttpException.httpStatus
           
 

Methods in org.apache.olingo.odata2.api.exception that return HttpStatusCodes
 HttpStatusCodes ODataHttpException.getHttpStatus()
           
 HttpStatusCodes ODataApplicationException.getHttpStatus()
          Default HttpStatusCodes.INTERNAL_SERVER_ERROR
 

Constructors in org.apache.olingo.odata2.api.exception with parameters of type HttpStatusCodes
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)
           
 

Uses of HttpStatusCodes in org.apache.olingo.odata2.api.processor
 

Methods in org.apache.olingo.odata2.api.processor that return HttpStatusCodes
 HttpStatusCodes ODataErrorContext.getHttpStatus()
          Get the status code which will be returned in error response.
abstract  HttpStatusCodes ODataResponse.getStatus()
           
 

Methods in org.apache.olingo.odata2.api.processor with parameters of type HttpStatusCodes
 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-2015 The Apache Software Foundation. All Rights Reserved.