public class ODataDebugResponseWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ODATA_DEBUG_DOWNLOAD |
static String |
ODATA_DEBUG_HTML |
static String |
ODATA_DEBUG_JSON |
static String |
ODATA_DEBUG_QUERY_PARAMETER |
| Constructor and Description |
|---|
ODataDebugResponseWrapper(ODataContext context,
ODataResponse response,
UriInfo uriInfo,
Exception exception,
String debugValue) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
appendHtmlTable(Writer writer,
Map<String,String> entries) |
protected static void |
appendJsonTable(JsonStreamWriter jsonStreamWriter,
Map<String,String> entries) |
protected static String |
escapeHtml(String value) |
ODataResponse |
wrapResponse() |
public static final String ODATA_DEBUG_QUERY_PARAMETER
public static final String ODATA_DEBUG_JSON
public static final String ODATA_DEBUG_HTML
public static final String ODATA_DEBUG_DOWNLOAD
public ODataDebugResponseWrapper(ODataContext context, ODataResponse response, UriInfo uriInfo, Exception exception, String debugValue)
public ODataResponse wrapResponse()
protected static void appendJsonTable(JsonStreamWriter jsonStreamWriter, Map<String,String> entries) throws IOException
IOExceptionprotected static void appendHtmlTable(Writer writer, Map<String,String> entries) throws IOException
IOExceptionCopyright © 2020. All rights reserved.