Package de.dlr.proseo.api.prip.odata
Klasse LogUtil
java.lang.Object
de.dlr.proseo.api.prip.odata.LogUtil
Utility methods for logging and error reporting
- Autor:
- Dr. Thomas Bassler
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic org.apache.olingo.server.api.ODataServerError
oDataServerError
(int statusCode, String message) Create an ODataServerError object for the error response body from an HTTP status code and a message
-
Konstruktordetails
-
LogUtil
public LogUtil()
-
-
Methodendetails
-
oDataServerError
public static org.apache.olingo.server.api.ODataServerError oDataServerError(int statusCode, String message) Create an ODataServerError object for the error response body from an HTTP status code and a message- Parameter:
statusCode
- the HTTP status code to setmessage
- the message to set- Gibt zurück:
- the created ODataServerError
-