Class TextFormattedRequestAccessLogMessage
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedAccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedRequestAccessLogMessage
- All Implemented Interfaces:
AccessLogMessage,LogMessage,OperationRequestAccessLogMessage,Serializable
- Direct Known Subclasses:
TextFormattedAbandonRequestAccessLogMessage,TextFormattedAddRequestAccessLogMessage,TextFormattedBindRequestAccessLogMessage,TextFormattedCompareRequestAccessLogMessage,TextFormattedDeleteRequestAccessLogMessage,TextFormattedExtendedRequestAccessLogMessage,TextFormattedIntermediateResponseAccessLogMessage,TextFormattedModifyDNRequestAccessLogMessage,TextFormattedModifyRequestAccessLogMessage,TextFormattedSearchRequestAccessLogMessage,TextFormattedUnbindRequestAccessLogMessage
@NotExtensible
@ThreadSafety(level=INTERFACE_THREADSAFE)
public abstract class TextFormattedRequestAccessLogMessage
extends TextFormattedAccessLogMessage
implements OperationRequestAccessLogMessage
This class provides a data structure that holds information about a
text-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:
-
Field Summary
Fields inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedLogMessage
NO_FIELD_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new text-formatted request access log message from the provided message. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRetrieves a message from an associated administrative operation request control.final StringRetrieves a string representation of 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.final StringRetrieves a string representation of 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.text.TextFormattedAccessLogMessage
getConnectionID, getInstanceName, getProductName, getStartupID, getThreadIDMethods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedLogMessage
getBoolean, getDouble, getFields, getGeneralizedTime, getInteger, 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
-
TextFormattedRequestAccessLogMessage
Creates a new text-formatted request access log message from the provided message.- Parameters:
logMessage- The log message to use to create this request access log message. It must not benull.
-
-
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 a string representation of an intermediate client request control included in the log message.- Returns:
- A string representation of an intermediate client request control
included in the log message, or
nullif there is none.
-
getOperationPurposeRequestControl
Retrieves a string representation of an operation purpose request control included in the log message.- Returns:
- A string representation of an operation purpose request control
included in the log message, or
nullif there is none.
-