public interface HandlerExecutionListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
HandlerExecutionListener.LoggingHandler
A simple implementation that logs the start/stop times of requests
You can configure this for use by adding a binding in your Guice Module like this:
bind(HandlerExecutionListener.class).to(HandlerExecutionListener.LoggingHandler.class);
|
static class |
HandlerExecutionListener.NoOpHandler
Default no-op implementation
|
| Modifier and Type | Method and Description |
|---|---|
void |
executed(String service,
String operation,
RequestItem request) |
void |
executing(String service,
String operation,
RequestItem request)
Called prior to executing a REST or RPC handler
|
void executing(String service, String operation, RequestItem request)
service - Name of the service being calledoperation - Name of operation being calledrequest - being executedvoid executed(String service, String operation, RequestItem request)
Copyright © 2007-2012. All Rights Reserved.