public class MessageParser extends MParser
This class implements a simple message parser, which reads the audit trailer
section from a ModSecurity event and creates Message instances
from that section.
MParser.Pair<K,V>| Constructor and Description |
|---|
MessageParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extract(String tag,
String line) |
static AuditEventMessage |
parseMessage(String line) |
static List<AuditEventMessage> |
parseMessages(AuditEvent evt) |
static String |
remove(String tag,
String line) |
public static List<AuditEventMessage> parseMessages(AuditEvent evt)
evt - public static AuditEventMessage parseMessage(String line)
Copyright © 2015 jwall.org. All Rights Reserved.