Class JSONAccessLogMessage
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONAccessLogMessage
- All Implemented Interfaces:
AccessLogMessage,LogMessage,Serializable
- Direct Known Subclasses:
JSONClientCertificateAccessLogMessage,JSONConnectAccessLogMessage,JSONDisconnectAccessLogMessage,JSONEntryRebalancingRequestAccessLogMessage,JSONRequestAccessLogMessage,JSONSecurityNegotiationAccessLogMessage
@NotExtensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public abstract class JSONAccessLogMessage
extends JSONLogMessage
implements AccessLogMessage
This class provides a data structure that holds information about a
JSON-formatted access log message.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJSONAccessLogMessage(JSONObject jsonObject) Creates a new JSON access log message from the provided JSON object. -
Method Summary
Modifier and TypeMethodDescriptionfinal LongRetrieves the connection ID for the connection with which this access log message is associated.final StringRetrieves the Directory Server instance name for this access log message.final StringRetrieves the server product name for this access log message.final StringRetrieves the Directory Server startup ID for this access log message.final LongRetrieves the thread ID for the server thread that generated this access log message.Methods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONLogMessage
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, getLong, getRFC3339Timestamp, getString, getTimestamp, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.AccessLogMessage
getMessageTypeMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.LogMessage
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
-
Constructor Details
-
JSONAccessLogMessage
Creates a new JSON access log message from the provided JSON object.- Parameters:
jsonObject- The JSON object that contains an encoded representation of this log message. It must not benull.- Throws:
LogException- If the provided JSON object cannot be parsed as a valid log message.
-
-
Method Details
-
getProductName
Retrieves the server product name for this access log message.- Specified by:
getProductNamein interfaceAccessLogMessage- Returns:
- The server product name for this access log message, or
nullif it is not included in the log message.
-
getInstanceName
Retrieves the Directory Server instance name for this access log message.- Specified by:
getInstanceNamein interfaceAccessLogMessage- Returns:
- The Directory Server instance name for this access log message, or
nullif it is not included in the log message.
-
getStartupID
Retrieves the Directory Server startup ID for this access log message.- Specified by:
getStartupIDin interfaceAccessLogMessage- Returns:
- The Directory Server startup ID for this access log message, or
nullif it is not included in the log message.
-
getThreadID
Retrieves the thread ID for the server thread that generated this access log message.- Specified by:
getThreadIDin interfaceAccessLogMessage- Returns:
- The Directory Server thread ID for this access log message, or
nullif it is not included in the log message.
-
getConnectionID
Retrieves the connection ID for the connection with which this access log message is associated.- Specified by:
getConnectionIDin interfaceAccessLogMessage- Returns:
- The connection ID for the connection with which this access log
message is associated, or
nullif it is not included in the log message.
-