Class AccessLogMessage

    • Constructor Detail

      • AccessLogMessage

        protected AccessLogMessage​(@NotNull
                                   LogMessage m)
        Creates a new access log message from the provided log message.
        Parameters:
        m - The log message to be parsed as an access log message.
    • Method Detail

      • parse

        @NotNull
        public static AccessLogMessage parse​(@NotNull
                                             java.lang.String s)
                                      throws LogException
        Parses the provided string as an access log message.
        Parameters:
        s - The string to parse as an access log message.
        Returns:
        The parsed access log message.
        Throws:
        LogException - If an error occurs while trying to parse the log message.
      • getProductName

        @Nullable
        public final java.lang.String getProductName()
        Retrieves the server product name for this access log message.
        Returns:
        The server product name for this access log message, or null if it is not included in the log message.
      • getInstanceName

        @Nullable
        public final java.lang.String getInstanceName()
        Retrieves the Directory Server instance name for this access log message.
        Returns:
        The Directory Server instance name for this access log message, or null if it is not included in the log message.
      • getStartupID

        @Nullable
        public final java.lang.String getStartupID()
        Retrieves the Directory Server startup ID for this access log message.
        Returns:
        The Directory Server startup ID for this access log message, or null if it is not included in the log message.
      • getConnectionID

        @Nullable
        public final java.lang.Long getConnectionID()
        Retrieves the connection ID for the connection with which this access log message is associated.
        Returns:
        The connection ID for the connection with which this access log message is associated, or null if it is not included in the log message.