T
- The type of HTTP access log publisher configuration handled by this log publisher implementation.@PublicAPI(stability=VOLATILE, mayInstantiate=false, mayExtend=true, mayInvoke=false) public abstract class HTTPAccessLogPublisher<T extends HttpAccessLogPublisherCfg> extends Object implements LogPublisher<T>
Constructor and Description |
---|
HTTPAccessLogPublisher() |
Modifier and Type | Method and Description |
---|---|
boolean |
isConfigurationAcceptable(T configuration,
List<LocalizableMessage> unacceptableReasons)
Indicates whether the provided configuration is acceptable for this log publisher.
|
void |
logRequestInfo(HTTPRequestInfo requestInfo)
Logs the request info according to the configured extended log format.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getDN, initializeLogPublisher
public boolean isConfigurationAcceptable(T configuration, List<LocalizableMessage> unacceptableReasons)
LogPublisher
isConfigurationAcceptable
in interface LogPublisher<T extends HttpAccessLogPublisherCfg>
configuration
- The log publisher configuration for which to make the determination.unacceptableReasons
- A list that may be used to hold the reasons that the provided configuration is not acceptable.true
if the provided configuration is acceptable for this log publisher, or false
if not.public void logRequestInfo(HTTPRequestInfo requestInfo)
requestInfo
- The request info to logCopyright 2010-2022 ForgeRock AS.