Class ODataDebugResponseWrapper
java.lang.Object
org.apache.olingo.odata2.core.debug.ODataDebugResponseWrapper
Wraps an OData response into an OData response containing additional
information useful for support purposes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionODataDebugResponseWrapper(ODataContext context, ODataResponse response, UriInfo uriInfo, Exception exception, String debugValue) -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidappendHtmlTable(Writer writer, Map<String, String> entries) protected static voidappendJsonTable(JsonStreamWriter jsonStreamWriter, Map<String, String> entries) protected static StringescapeHtml(String value)
-
Field Details
-
ODATA_DEBUG_QUERY_PARAMETER
- See Also:
-
ODATA_DEBUG_JSON
- See Also:
-
ODATA_DEBUG_HTML
- See Also:
-
ODATA_DEBUG_DOWNLOAD
- See Also:
-
-
Constructor Details
-
ODataDebugResponseWrapper
public ODataDebugResponseWrapper(ODataContext context, ODataResponse response, UriInfo uriInfo, Exception exception, String debugValue)
-
-
Method Details
-
wrapResponse
-
escapeHtml
-
appendJsonTable
protected static void appendJsonTable(JsonStreamWriter jsonStreamWriter, Map<String, String> entries) throws IOException- Throws:
IOException
-
appendHtmlTable
- Throws:
IOException
-