Class DebugResponseHelperImpl
java.lang.Object
org.apache.olingo.server.core.debug.DebugResponseHelperImpl
- All Implemented Interfaces:
DebugResponseHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidappendHtmlTable(Writer writer, Map<String, String> entries) protected static voidappendJsonTable(com.fasterxml.jackson.core.JsonGenerator gen, Map<String, String> entries) createDebugResponse(DebugInformation debugInfo) Creates a debug response based on the given parameters.protected static StringescapeHtml(String value) protected static StringGets version field information for response.
-
Constructor Details
-
DebugResponseHelperImpl
-
-
Method Details
-
createDebugResponse
Description copied from interface:DebugResponseHelperCreates a debug response based on the given parameters. Will never throw an exception.- Specified by:
createDebugResponsein interfaceDebugResponseHelper- Parameters:
debugInfo- debug information- Returns:
- the debug response or the raw application response in case an exception occurred
-
getVersion
Gets version field information for response. Result is never null.- Returns:
- version field information
-
escapeHtml
-
appendJsonTable
protected static void appendJsonTable(com.fasterxml.jackson.core.JsonGenerator gen, Map<String, String> entries) throws IOException- Throws:
IOException
-
appendHtmlTable
- Throws:
IOException
-