@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class JSONAccessLogMessage extends JSONLogMessage implements AccessLogMessage
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.
Modifier | Constructor and Description |
---|---|
protected |
JSONAccessLogMessage(JSONObject jsonObject)
Creates a new JSON access log message from the provided JSON object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getConnectionID()
Retrieves the connection ID for the connection with which this access log
message is associated.
|
java.lang.String |
getInstanceName()
Retrieves the Directory Server instance name for this access log message.
|
java.lang.String |
getProductName()
Retrieves the server product name for this access log message.
|
java.lang.String |
getStartupID()
Retrieves the Directory Server startup ID for this access log message.
|
java.lang.Long |
getThreadID()
Retrieves the thread ID for the server thread that generated this access
log message.
|
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessageType
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
protected JSONAccessLogMessage(@NotNull JSONObject jsonObject) throws LogException
jsonObject
- The JSON object that contains an encoded representation
of this log message. It must not be null
.LogException
- If the provided JSON object cannot be parsed as a
valid log message.@Nullable public final java.lang.String getProductName()
getProductName
in interface AccessLogMessage
null
if it is not included in the log message.@Nullable public final java.lang.String getInstanceName()
getInstanceName
in interface AccessLogMessage
null
if it is not included in the log message.@Nullable public final java.lang.String getStartupID()
getStartupID
in interface AccessLogMessage
null
if it is not included in the log message.@Nullable public final java.lang.Long getThreadID()
getThreadID
in interface AccessLogMessage
null
if it is not included in the log message.@Nullable public final java.lang.Long getConnectionID()
getConnectionID
in interface AccessLogMessage
null
if it is not included in
the log message.