Class JSONAccessLogMessage

    • Constructor Detail

      • JSONAccessLogMessage

        protected JSONAccessLogMessage​(@NotNull
                                       JSONObject jsonObject)
                                throws LogException
        Creates a new JSON 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 be null.
        Throws:
        LogException - If the provided JSON object cannot be parsed as a valid log message.
    • Method Detail

      • getProductName

        @Nullable
        public final java.lang.String getProductName()
        Retrieves the server product name for this access log message.
        Specified by:
        getProductName in interface AccessLogMessage
        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.
        Specified by:
        getInstanceName in interface AccessLogMessage
        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.
        Specified by:
        getStartupID in interface AccessLogMessage
        Returns:
        The Directory Server startup ID for this access log message, or null if it is not included in the log message.
      • getThreadID

        @Nullable
        public final java.lang.Long getThreadID()
        Retrieves the thread ID for the server thread that generated this access log message.
        Specified by:
        getThreadID in interface AccessLogMessage
        Returns:
        The Directory Server thread 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.
        Specified by:
        getConnectionID in interface AccessLogMessage
        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.