org.abstracthorizon.danube.http.logging
Class HTTPAccessLogConnectionHandler
java.lang.Object
org.abstracthorizon.danube.support.logging.AccessLogConnectionHandler
org.abstracthorizon.danube.http.logging.HTTPAccessLogConnectionHandler
- All Implemented Interfaces:
- ConnectionHandler
public class HTTPAccessLogConnectionHandler
- extends AccessLogConnectionHandler
Utility class that adds new pattern codes to existing in AccessLogConnectionHandler
Those are added through HTTPPatternProcessor
Also it sets default pattern to "%h %l %u %t "%r" %s %b"
- Author:
- Daniel Sendula
Methods inherited from class org.abstracthorizon.danube.support.logging.AccessLogConnectionHandler |
createLogLine, getConnectionHandler, getCustomProcessors, getLogFileRotator, getLogPattern, handleConnection, outputLogLine, setConnectionHandler, setCustomProcessors, setLogFileRotator, setLogPattern |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPAccessLogConnectionHandler
public HTTPAccessLogConnectionHandler()
addPredefinedProcessors
protected void addPredefinedProcessors(List<String> providerClasses)
Adds lists of predefined processors to the lists of provider classes.
This method adds following:
Also it calls super method AccessLogConnectionHandler.addPredefinedProcessors(List)
- Overrides:
addPredefinedProcessors
in class AccessLogConnectionHandler
- Parameters:
providerClasses
- list of provider classes
getDefaultLogPattern
protected String getDefaultLogPattern()
- Returns default log pattern
- Overrides:
getDefaultLogPattern
in class AccessLogConnectionHandler
- Returns:
- default log pattern
Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.