butler.service
Class LoggingInterceptor

java.lang.Object
  extended by butler.service.LoggingInterceptor
All Implemented Interfaces:
Interceptor

public class LoggingInterceptor
extends java.lang.Object
implements Interceptor

Sample interceptor that do logging.

Author:
Fredrik Bertilsson

Constructor Summary
LoggingInterceptor()
           
 
Method Summary
 java.lang.Object intercept(Request request, Chain chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingInterceptor

public LoggingInterceptor()
Method Detail

intercept

public java.lang.Object intercept(Request request,
                                  Chain chain)
                           throws java.lang.Exception
Specified by:
intercept in interface Interceptor
Throws:
java.lang.Exception