org.abstracthorizon.danube.http.logging
Class HTTPAccessLogConnectionHandler

java.lang.Object
  extended by org.abstracthorizon.danube.support.logging.AccessLogConnectionHandler
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.abstracthorizon.danube.support.logging.AccessLogConnectionHandler
AccessLogConnectionHandler.DateWrapper
 
Field Summary
 
Fields inherited from class org.abstracthorizon.danube.support.logging.AccessLogConnectionHandler
argumentNumber, logger, logPatternString, selectedProcessors
 
Constructor Summary
HTTPAccessLogConnectionHandler()
           
 
Method Summary
protected  void addPredefinedProcessors(List<String> providerClasses)
          Adds lists of predefined processors to the lists of provider classes.
protected  String getDefaultLogPattern()
          Returns default log pattern
 
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
 

Constructor Detail

HTTPAccessLogConnectionHandler

public HTTPAccessLogConnectionHandler()
Method Detail

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.