public class DefaultDebugSupport extends Object implements DebugSupport
ODATA_DEBUG_DOWNLOAD, ODATA_DEBUG_HTML, ODATA_DEBUG_JSON, ODATA_DEBUG_QUERY_PARAMETER| Constructor and Description | 
|---|
| DefaultDebugSupport() | 
| 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. | 
public void init(OData odata)
DebugSupportDebugSupport.isUserAuthorized() and DebugSupport.createDebugResponse(String, DebugInformation).init in interface DebugSupportodata - related OData/Olingo service factorypublic boolean isUserAuthorized()
DebugSupportisUserAuthorized in interface DebugSupportpublic ODataResponse createDebugResponse(String debugFormat, DebugInformation debugInfo)
DebugSupportcreateDebugResponse in interface DebugSupportdebugFormat - the value of the odata-debug query parameterdebugInfo - all necessary information to construct debug outputCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.