Class TextFormattedSearchRequestAccessLogMessage
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
com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedSearchRequestAccessLogMessage
- All Implemented Interfaces:
AccessLogMessage,LogMessage,OperationRequestAccessLogMessage,SearchRequestAccessLogMessage,Serializable
- Direct Known Subclasses:
TextFormattedSearchEntryAccessLogMessage,TextFormattedSearchForwardAccessLogMessage,TextFormattedSearchReferenceAccessLogMessage,TextFormattedSearchResultAccessLogMessage
@NotExtensible
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public class TextFormattedSearchRequestAccessLogMessage
extends TextFormattedRequestAccessLogMessage
implements SearchRequestAccessLogMessage
This class provides a data structure that holds information about a
text-formatted search 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
ConstructorsConstructorDescriptionTextFormattedSearchRequestAccessLogMessage(String logMessageString) Creates a new text-formatted search request access log message from the provided message string. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRetrieves the base DN for the search request.final DereferencePolicyRetrieves the dereference policy for the search request.final StringRetrieves a string representation of the filter for the search request.final AccessLogOperationTypeRetrieves the operation type for the associated operation.Retrieves the list of requested attributes for the search request.final SearchScopegetScope()Retrieves the scope for the search request.final IntegerRetrieves the size limit for the search request.final IntegerRetrieves the time limit for the search request, in seconds.final BooleanRetrieves the typesOnly value for the search request.Methods inherited from class com.unboundid.ldap.sdk.unboundidds.logs.v2.text.TextFormattedRequestAccessLogMessage
getAdministrativeOperationMessage, getIntermediateClientRequestControl, getMessageID, getMessageType, getOperationID, getOperationPurposeRequestControl, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThreadMethods 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, getMessageType, 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
getAdministrativeOperationMessage, getMessageID, getOperationID, getOrigin, getRequestControlOIDs, getRequesterDN, getRequesterIPAddress, getTriggeredByConnectionID, getTriggeredByOperationID, getUsingAdminSessionWorkerThread
-
Constructor Details
-
TextFormattedSearchRequestAccessLogMessage
public TextFormattedSearchRequestAccessLogMessage(@NotNull String logMessageString) throws LogException Creates a new text-formatted search request access log message from the provided message string.- Parameters:
logMessageString- The string representation of this log message. It must not benull.- Throws:
LogException- If the provided string cannot be parsed as a valid log message.
-
-
Method Details
-
getOperationType
Retrieves the operation type for the associated operation.- Specified by:
getOperationTypein interfaceOperationRequestAccessLogMessage- Returns:
- The operation type for this access log message.
-
getBaseDN
Retrieves the base DN for the search request.- Specified by:
getBaseDNin interfaceSearchRequestAccessLogMessage- Returns:
- The base DN for the search request, or
nullif it is not included in the log message.
-
getScope
Retrieves the scope for the search request.- Specified by:
getScopein interfaceSearchRequestAccessLogMessage- Returns:
- The scope for the search request, or
nullif it is not included in the log message.
-
getFilter
Retrieves a string representation of the filter for the search request.- Specified by:
getFilterin interfaceSearchRequestAccessLogMessage- Returns:
- A string representation of the filter for the search request, or
nullif it is not included in the log message.
-
getDereferencePolicy
Retrieves the dereference policy for the search request.- Specified by:
getDereferencePolicyin interfaceSearchRequestAccessLogMessage- Returns:
- The dereference policy for the search request, or
nullif it is not included in the log message or the value cannot be parsed as a validDereferencePolicyvalue.
-
getSizeLimit
Retrieves the size limit for the search request.- Specified by:
getSizeLimitin interfaceSearchRequestAccessLogMessage- Returns:
- The size limit for the search request, or
nullif it is not included in the log message or the value cannot be parsed as an integer.
-
getTimeLimitSeconds
Retrieves the time limit for the search request, in seconds.- Specified by:
getTimeLimitSecondsin interfaceSearchRequestAccessLogMessage- Returns:
- The time limit for the search request, or
nullif it is not included in the log message or the value cannot be parsed as an integer.
-
getTypesOnly
Retrieves the typesOnly value for the search request.- Specified by:
getTypesOnlyin interfaceSearchRequestAccessLogMessage- Returns:
trueif only attribute type names should be included in entries that are returned,falseif both attribute types and values should be returned, ornullif is not included in the log message or cannot be parsed as a Boolean.
-
getRequestedAttributes
Retrieves the list of requested attributes for the search request.- Specified by:
getRequestedAttributesin interfaceSearchRequestAccessLogMessage- Returns:
- The list of requested attributes for the search request, an empty
list if the client did not explicitly request any attributes, or
nullif it is not included in the log message.
-