Class JSONExtendedResultAccessLogMessage
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
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONExtendedRequestAccessLogMessage
com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONExtendedResultAccessLogMessage
- All Implemented Interfaces:
AccessLogMessage,ExtendedForwardAccessLogMessage,ExtendedRequestAccessLogMessage,ExtendedResultAccessLogMessage,LogMessage,OperationForwardAccessLogMessage,OperationRequestAccessLogMessage,OperationResultAccessLogMessage,Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class JSONExtendedResultAccessLogMessage
extends JSONExtendedRequestAccessLogMessage
implements ExtendedResultAccessLogMessage
This class provides a data structure that holds information about a
JSON-formatted extended result 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
ConstructorsConstructorDescriptionJSONExtendedResultAccessLogMessage(JSONObject jsonObject) Creates a new JSON extended result access log message from the provided JSON object. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves a message with additional information about the result of the operation.Retrieves the name of the client connection policy that was selected for the client connection.Retrieves the diagnostic message for the operation.Retrieves information about an intermediate client response control included in the log message.Retrieves the number of intermediate response messages returned in the course of processing the operation.Retrieves the matched DN for the operation.Retrieves the message type for this access log message.Retrieves the names of any privileges that would have been required for processing the operation but that the requester did not have.Retrieves the names of any privileges used during the course of processing the operation before an alternate authorization identity was assigned.Retrieves the length of time in milliseconds required to process the operation.Retrieves the list of referral URLs for the operation.Retrieves the OIDs of any response controls contained in the log message.Retrieves the OID for the extended response.Retrieves the type of extended response being returned.Retrieves the result code for the operation.Retrieves a list of the additional servers that were accessed in the course of processing the operation.Retrieves the address of the backend server to which the request has been forwarded.Retrieves the port of the backend server to which the request has been forwarded.Retrieves the protocol used to forward the request to the backend server.Indicates whether the server accessed any uncached data in the course of processing the operation.Retrieves the names of any privileges used during the course of processing the operation.Retrieves the length of time in milliseconds the operation was required to wait on the work queue.Methods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONExtendedRequestAccessLogMessage
getOperationType, getRequestOID, getRequestTypeMethods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.json.JSONRequestAccessLogMessage
getAdministrativeOperationMessage, getIntermediateClientRequestControl, getMessageID, getOperationID, getOperationPurposeRequestControl, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThreadMethods 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.ExtendedRequestAccessLogMessage
getRequestOID, getRequestTypeMethods 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
getAdministrativeOperationMessage, getMessageID, getOperationID, getOperationType, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
-
Constructor Details
-
JSONExtendedResultAccessLogMessage
Creates a new JSON extended result 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- Overrides:
getMessageTypein classJSONRequestAccessLogMessage- Returns:
- The message type for this access log message.
-
getResultCode
Retrieves the result code for the operation.- Specified by:
getResultCodein interfaceOperationResultAccessLogMessage- Returns:
- The result code for the operation, or
nullif it is not included in the log message.
-
getDiagnosticMessage
Retrieves the diagnostic message for the operation.- Specified by:
getDiagnosticMessagein interfaceOperationResultAccessLogMessage- Returns:
- The diagnostic message for the operation, or
nullif it is not included in the log message.
-
getAdditionalInformation
Retrieves a message with additional information about the result of the operation.- Specified by:
getAdditionalInformationin interfaceOperationResultAccessLogMessage- Returns:
- A message with additional information about the result of the
operation, or
nullif it is not included in the log message.
-
getMatchedDN
Retrieves the matched DN for the operation.- Specified by:
getMatchedDNin interfaceOperationResultAccessLogMessage- Returns:
- The matched DN for the operation, or
nullif it is not included in the log message.
-
getReferralURLs
Retrieves the list of referral URLs for the operation.- Specified by:
getReferralURLsin interfaceOperationResultAccessLogMessage- Returns:
- The list of referral URLs for the operation, or an empty list if it is not included in the log message.
-
getProcessingTimeMillis
Retrieves the length of time in milliseconds required to process the operation.- Specified by:
getProcessingTimeMillisin interfaceOperationResultAccessLogMessage- Returns:
- The length of time in milliseconds required to process the
operation, or
nullif it is not included in the log message.
-
getWorkQueueWaitTimeMillis
Retrieves the length of time in milliseconds the operation was required to wait on the work queue.- Specified by:
getWorkQueueWaitTimeMillisin interfaceOperationResultAccessLogMessage- Returns:
- The length of time in milliseconds the operation was required to
wait on the work queue, or
nullif it is not included in the log message.
-
getResponseControlOIDs
Retrieves the OIDs of any response controls contained in the log message.- Specified by:
getResponseControlOIDsin interfaceOperationResultAccessLogMessage- Returns:
- The OIDs of any response controls contained in the log message, or an empty list if it is not included in the log message.
-
getIntermediateResponsesReturned
Retrieves the number of intermediate response messages returned in the course of processing the operation.- Specified by:
getIntermediateResponsesReturnedin interfaceOperationResultAccessLogMessage- Returns:
- The number of intermediate response messages returned to the
client in the course of processing the operation, or
nullif it is not included in the log message.
-
getServersAccessed
Retrieves a list of the additional servers that were accessed in the course of processing the operation. For example, if the access log message is from a Directory Proxy Server instance, then this may contain a list of the backend servers used to process the operation.- Specified by:
getServersAccessedin interfaceOperationResultAccessLogMessage- Returns:
- A list of the additional servers that were accessed in the course of processing the operation, or an empty list if it is not included in the log message.
-
getUncachedDataAccessed
Indicates whether the server accessed any uncached data in the course of processing the operation.- Specified by:
getUncachedDataAccessedin interfaceOperationResultAccessLogMessage- Returns:
trueif the server was known to access uncached data in the course of processing the operation,falseif the server was known not to access uncached data, ornullif it is not included in the log message (and the server likely did not access uncached data).
-
getUsedPrivileges
Retrieves the names of any privileges used during the course of processing the operation.- Specified by:
getUsedPrivilegesin interfaceOperationResultAccessLogMessage- Returns:
- The names of any privileges used during the course of processing the operation, or an empty list if no privileges were used or this is not included in the log message.
-
getPreAuthorizationUsedPrivileges
Retrieves the names of any privileges used during the course of processing the operation before an alternate authorization identity was assigned.- Specified by:
getPreAuthorizationUsedPrivilegesin interfaceOperationResultAccessLogMessage- Returns:
- The names of any privileges used during the course of processing the operation before an alternate authorization identity was assigned, or an empty list if no privileges were used or this is not included in the log message.
-
getMissingPrivileges
Retrieves the names of any privileges that would have been required for processing the operation but that the requester did not have.- Specified by:
getMissingPrivilegesin interfaceOperationResultAccessLogMessage- Returns:
- The names of any privileges that would have been required for processing the operation but that the requester did not have, or an empty list if there were no missing privileges or this is not included in the log message.
-
getIntermediateClientResponseControl
Retrieves information about an intermediate client response control included in the log message.- Returns:
- An intermediate client response control included in the log
message, or
nullif no intermediate client response control is available.
-
getTargetHost
Retrieves the address of the backend server to which the request has been forwarded.- Specified by:
getTargetHostin interfaceOperationForwardAccessLogMessage- Returns:
- The address of the backend server to which the request has been
forwarded, or
nullif it is not included in the log message.
-
getTargetPort
Retrieves the port of the backend server to which the request has been forwarded.- Specified by:
getTargetPortin interfaceOperationForwardAccessLogMessage- Returns:
- The port of the backend server to which the request has been
forwarded, or
nullif it is not included in the log message.
-
getTargetProtocol
Retrieves the protocol used to forward the request to the backend server.- Specified by:
getTargetProtocolin interfaceOperationForwardAccessLogMessage- Returns:
- The protocol used to forward the request to the backend server, or
nullif it is not included in the log message.
-
getResponseOID
Retrieves the OID for the extended response.- Specified by:
getResponseOIDin interfaceExtendedResultAccessLogMessage- Returns:
- The OID for the extended response, or
nullif it is not included in the log message.
-
getResponseType
Retrieves the type of extended response being returned. This is generally a human-readable name for the operation.- Specified by:
getResponseTypein interfaceExtendedResultAccessLogMessage- Returns:
- The type of extended response, or
nullif it is not included in the log message.
-
getClientConnectionPolicy
Retrieves the name of the client connection policy that was selected for the client connection.- Specified by:
getClientConnectionPolicyin interfaceExtendedResultAccessLogMessage- Returns:
- The name of the client connection policy that was selected for the
client connection, or
nullif it is not included in the log message.
-