Class JSONRequestAccessLogMessage
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONAccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONRequestAccessLogMessage
- All Implemented Interfaces:
AccessLogMessage,LogMessage,OperationRequestAccessLogMessage,Serializable
- Direct Known Subclasses:
JSONAbandonRequestAccessLogMessage,JSONAddRequestAccessLogMessage,JSONBindRequestAccessLogMessage,JSONCompareRequestAccessLogMessage,JSONDeleteRequestAccessLogMessage,JSONExtendedRequestAccessLogMessage,JSONIntermediateResponseAccessLogMessage,JSONModifyDNRequestAccessLogMessage,JSONModifyRequestAccessLogMessage,JSONSearchRequestAccessLogMessage,JSONUnbindRequestAccessLogMessage
@NotExtensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public abstract class JSONRequestAccessLogMessage
extends JSONAccessLogMessage
implements OperationRequestAccessLogMessage
This class provides a data structure that holds information about a
JSON-formatted operation request 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
ConstructorsModifierConstructorDescriptionprotectedJSONRequestAccessLogMessage(JSONObject jsonObject) Creates a new JSON request access log message from the provided JSON object. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRetrieves a message from an associated administrative operation request control.Retrieves information about an intermediate client request control included in the log message.final IntegerRetrieves the message ID for the associated operation.Retrieves the message type for this access log message.final LongRetrieves the operation ID for the associated operation.Retrieves information about an operation purpose request control included in the log message.final StringRetrieves the origin of the associated operation.Retrieves the OIDs of any request controls contained in the log message.final StringRetrieves the DN of the user that requested the operation.final StringRetrieves the IP address of the client that requested the operation.final LongRetrieves the connection ID for the connection that triggered the associated operation.final LongRetrieves the operation ID for the operation that triggered the associated operation.final BooleanIndicates whether the operation was processed using a worker thread from the dedicated administrative session thread pool.Methods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONAccessLogMessage
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadIDMethods 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
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadIDMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.LogMessage
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, getLong, getRFC3339Timestamp, getString, getTimestamp, toStringMethods inherited from interface com.unboundid.ldap.sdk.unboundidds.logs.v2.OperationRequestAccessLogMessage
getOperationType
-
Constructor Details
-
JSONRequestAccessLogMessage
Creates a new JSON request 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
-
getMessageType
Retrieves the message type for this access log message.- Specified by:
getMessageTypein interfaceAccessLogMessage- Returns:
- The message type for this access log message.
-
getOperationID
Retrieves the operation ID for the associated operation.- Specified by:
getOperationIDin interfaceOperationRequestAccessLogMessage- Returns:
- The operation ID for the associated operation, or
nullif it is not included in the log message.
-
getMessageID
Retrieves the message ID for the associated operation.- Specified by:
getMessageIDin interfaceOperationRequestAccessLogMessage- Returns:
- The message ID for the associated operation, or
nullif it is not included in the log message.
-
getOrigin
Retrieves the origin of the associated operation. If present, it may be "synchronization" if the operation is replicated, or "internal" if it is an internal operation.- Specified by:
getOriginin interfaceOperationRequestAccessLogMessage- Returns:
- The origin for the associated operation, or
nullif it is not included in the log message.
-
getTriggeredByConnectionID
Retrieves the connection ID for the connection that triggered the associated operation. This is generally used for internal operations that are processed as a direct result of an externally-requested operation.- Specified by:
getTriggeredByConnectionIDin interfaceOperationRequestAccessLogMessage- Returns:
- The connection ID for the connection that triggered the associated
operation, or
nullif it is not included in the log message.
-
getTriggeredByOperationID
Retrieves the operation ID for the operation that triggered the associated operation. This is generally used for internal operations that are processed as a direct result of an externally-requested operation.- Specified by:
getTriggeredByOperationIDin interfaceOperationRequestAccessLogMessage- Returns:
- The operation ID for the operation that triggered the associated
operation, or
nullif it is not included in the log message.
-
getRequesterDN
Retrieves the DN of the user that requested the operation.- Specified by:
getRequesterDNin interfaceOperationRequestAccessLogMessage- Returns:
- The DN of the user that requested the operation, or
nullif it is not included in the log message.
-
getRequesterIPAddress
Retrieves the IP address of the client that requested the operation.- Specified by:
getRequesterIPAddressin interfaceOperationRequestAccessLogMessage- Returns:
- The IP address of the client that requested the operation, or
nullif it is not included in the log message.
-
getRequestControlOIDs
Retrieves the OIDs of any request controls contained in the log message.- Specified by:
getRequestControlOIDsin interfaceOperationRequestAccessLogMessage- Returns:
- The OIDs of any request controls contained in the log message, or an empty list if it is not included in the log message.
-
getUsingAdminSessionWorkerThread
Indicates whether the operation was processed using a worker thread from the dedicated administrative session thread pool.- Specified by:
getUsingAdminSessionWorkerThreadin interfaceOperationRequestAccessLogMessage- Returns:
trueif the operation was processed using a worker thread from the dedicated administrative session thread pool,falseif it was not, ornullif that information was not included in the log message.
-
getAdministrativeOperationMessage
Retrieves a message from an associated administrative operation request control.- Specified by:
getAdministrativeOperationMessagein interfaceOperationRequestAccessLogMessage- Returns:
- A message from an associated administrative operation request
control, or
nullif it is not included in teh log message.
-
getIntermediateClientRequestControl
Retrieves information about an intermediate client request control included in the log message.- Returns:
- An intermediate client request control included in the log
message, or
nullif no intermediate client request control is available.
-
getOperationPurposeRequestControl
Retrieves information about an operation purpose request control included in the log message.- Returns:
- An operation purpose request control included in the log message,
or
nullif no operation purpose request control is available.
-