public interface DebugSupport
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| ODataResponse | createDebugResponse(String debugFormat,
                   DebugInformation debugInfo)Creates a debug response and delivers it back to the Olingo library. | 
| void | init(OData odata)Initializes the debug support implementation. | 
| boolean | isUserAuthorized()Ensures that the user that requested the debug output is authorized to see this output. | 
static final String ODATA_DEBUG_QUERY_PARAMETER
static final String ODATA_DEBUG_JSON
static final String ODATA_DEBUG_HTML
static final String ODATA_DEBUG_DOWNLOAD
void init(OData odata)
isUserAuthorized() and createDebugResponse(String, DebugInformation).odata - related OData/Olingo service factoryboolean isUserAuthorized()
ODataResponse createDebugResponse(String debugFormat, DebugInformation debugInfo)
debugFormat - the value of the odata-debug query parameterdebugInfo - all necessary information to construct debug outputCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.