org.deegree.services.controller.utils
Class StandardRequestLogger

java.lang.Object
  extended by org.deegree.services.controller.utils.StandardRequestLogger
All Implemented Interfaces:
RequestLogger

public class StandardRequestLogger
extends java.lang.Object
implements RequestLogger

Version:
$Revision: 27382 $, $Date: 2010-10-19 12:24:10 +0200 (Di, 19. Okt 2010) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
StandardRequestLogger()
           
 
Method Summary
 void logKVP(java.lang.String address, java.lang.String queryString, long startTime, long endTime, Credentials creds)
           
 void logXML(java.lang.String address, java.io.File logFile, long startTime, long endTime, Credentials creds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardRequestLogger

public StandardRequestLogger()
Method Detail

logKVP

public void logKVP(java.lang.String address,
                   java.lang.String queryString,
                   long startTime,
                   long endTime,
                   Credentials creds)
Specified by:
logKVP in interface RequestLogger

logXML

public void logXML(java.lang.String address,
                   java.io.File logFile,
                   long startTime,
                   long endTime,
                   Credentials creds)
Specified by:
logXML in interface RequestLogger
logFile - Will contain the logged request once this method is called. It's a temporary file in the configured requests directory. If you want the request to be saved somewhere else, this is the place where to do that.


Copyright © 2011. All Rights Reserved.