@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public abstract class JSONRequestAccessLogMessage extends JSONAccessLogMessage implements OperationRequestAccessLogMessage
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 |
JSONRequestAccessLogMessage(JSONObject jsonObject)
Creates a new JSON request access log message from the provided JSON
object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAdministrativeOperationMessage()
Retrieves a message from an associated administrative operation request
control.
|
JSONIntermediateClientRequestControl |
getIntermediateClientRequestControl()
Retrieves information about an intermediate client request control included
in the log message.
|
java.lang.Integer |
getMessageID()
Retrieves the message ID for the associated operation.
|
AccessLogMessageType |
getMessageType()
Retrieves the message type for this access log message.
|
java.lang.Long |
getOperationID()
Retrieves the operation ID for the associated operation.
|
JSONOperationPurposeRequestControl |
getOperationPurposeRequestControl()
Retrieves information about an operation purpose request control included
in the log message.
|
java.lang.String |
getOrigin()
Retrieves the origin of the associated operation.
|
java.util.Set<java.lang.String> |
getRequestControlOIDs()
Retrieves the OIDs of any request controls contained in the log message.
|
java.lang.String |
getRequesterDN()
Retrieves the DN of the user that requested the operation.
|
java.lang.String |
getRequesterIPAddress()
Retrieves the IP address of the client that requested the operation.
|
java.lang.Long |
getTriggeredByConnectionID()
Retrieves the connection ID for the connection that triggered the
associated operation.
|
java.lang.Long |
getTriggeredByOperationID()
Retrieves the operation ID for the operation that triggered the associated
operation.
|
java.lang.Boolean |
getUsingAdminSessionWorkerThread()
Indicates whether the operation was processed using a worker thread from
the dedicated administrative session thread pool.
|
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getJSONObject, getLogType, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOperationType
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadID
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toString
protected JSONRequestAccessLogMessage(@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.@NotNull public AccessLogMessageType getMessageType()
getMessageType
in interface AccessLogMessage
@Nullable public final java.lang.Long getOperationID()
getOperationID
in interface OperationRequestAccessLogMessage
null
if
it is not included in the log message.@Nullable public final java.lang.Integer getMessageID()
getMessageID
in interface OperationRequestAccessLogMessage
null
if
it is not included in the log message.@Nullable public final java.lang.String getOrigin()
getOrigin
in interface OperationRequestAccessLogMessage
null
if it is
not included in the log message.@Nullable public final java.lang.Long getTriggeredByConnectionID()
getTriggeredByConnectionID
in interface OperationRequestAccessLogMessage
null
if it is not included in the log
message.@Nullable public final java.lang.Long getTriggeredByOperationID()
getTriggeredByOperationID
in interface OperationRequestAccessLogMessage
null
if it is not included in the log
message.@Nullable public final java.lang.String getRequesterDN()
getRequesterDN
in interface OperationRequestAccessLogMessage
null
if it is not included in the log message.@Nullable public final java.lang.String getRequesterIPAddress()
getRequesterIPAddress
in interface OperationRequestAccessLogMessage
null
if it is not included in the log message.@NotNull public final java.util.Set<java.lang.String> getRequestControlOIDs()
getRequestControlOIDs
in interface OperationRequestAccessLogMessage
@Nullable public final java.lang.Boolean getUsingAdminSessionWorkerThread()
getUsingAdminSessionWorkerThread
in interface OperationRequestAccessLogMessage
true
if the operation was processed using a worker thread
from the dedicated administrative session thread pool,
false
if it was not, or null
if that information
was not included in the log message.@Nullable public final java.lang.String getAdministrativeOperationMessage()
getAdministrativeOperationMessage
in interface OperationRequestAccessLogMessage
null
if it is not included in teh log message.@Nullable public final JSONIntermediateClientRequestControl getIntermediateClientRequestControl()
null
if no intermediate client request control
is available.@Nullable public final JSONOperationPurposeRequestControl getOperationPurposeRequestControl()
null
if no operation purpose request control is
available.