org.webbitserver.handler.logging
Class LoggingHandler

java.lang.Object
  extended by org.webbitserver.handler.logging.LoggingHandler
All Implemented Interfaces:
HttpHandler

public class LoggingHandler
extends Object
implements HttpHandler


Constructor Summary
LoggingHandler(LogSink logSink)
           
 
Method Summary
 void handleHttpRequest(HttpRequest request, HttpResponse response, HttpControl control)
           
 LogSink logSink()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingHandler

public LoggingHandler(LogSink logSink)
Method Detail

logSink

public LogSink logSink()

handleHttpRequest

public void handleHttpRequest(HttpRequest request,
                              HttpResponse response,
                              HttpControl control)
                       throws Exception
Specified by:
handleHttpRequest in interface HttpHandler
Throws:
Exception


Copyright © 2013. All Rights Reserved.