| Constructor and Description |
|---|
CommonEvent() |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,Object> |
getExtension(boolean populatedOnly) |
abstract Map<String,Object> |
getExtension(boolean populatedOnly,
boolean includeCustomExtensions) |
abstract Map<String,Object> |
getHeader() |
abstract void |
setExtension(Map<String,String> extensions) |
abstract void |
setExtension(Map<String,String> extensions,
boolean allowNulls) |
abstract void |
setHeader(Map<String,Object> headers) |
public abstract void setHeader(Map<String,Object> headers) throws CEFHandlingException
headers - A map containing the keys and values of headers of CEF eventCEFHandlingException - when it has issues writing the values of the headerspublic abstract void setExtension(Map<String,String> extensions) throws CEFHandlingException
extensions - A map containing the keys and values of extensions of CEF eventCEFHandlingException - when it has issues populating the extensionspublic abstract void setExtension(Map<String,String> extensions, boolean allowNulls) throws CEFHandlingException
extensions - A map containing the keys and values of extensions of CEF eventallowNulls - If true, extensions with an empty value will be seen as null. If false, parsing may fail depending on extension typesCEFHandlingException - when it has issues populating the extensionspublic abstract Map<String,Object> getHeader() throws CEFHandlingException
CEFHandlingException - when it has issues reading the headers of CEF eventpublic abstract Map<String,Object> getExtension(boolean populatedOnly) throws CEFHandlingException
populatedOnly - Boolean defining if Map should include all fields supported by the supported CEF standardCEFHandlingException - when it hits issues (e.g. IllegalAccessException) reading the extensionspublic abstract Map<String,Object> getExtension(boolean populatedOnly, boolean includeCustomExtensions) throws CEFHandlingException
populatedOnly - Boolean defining if Map should include all fields supported by CefRev23includeCustomExtensions - Boolean defining if Map should include parsed keys that are not supported part of the base CEF Rev23 specificationCEFHandlingException - when it hits issues (e.g. IllegalAccessException) reading the extensionsCopyright © 2016–2021 Fluenda. All rights reserved.