public class CompositeRequestEventListener extends Object implements RequestEventListener
request event listener that aggregates more request event listener into one.
Calling RequestEventListener.onEvent(org.glassfish.jersey.server.monitoring.RequestEvent) on
this composite listener will forward calls to all aggregated listeners.| Constructor and Description |
|---|
CompositeRequestEventListener(List<RequestEventListener> requestEventListeners)
Create a new composite listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(RequestEvent event)
The method is called when new request event occurs.
|
public CompositeRequestEventListener(List<RequestEventListener> requestEventListeners)
requestEventListeners - List of listeners that should be aggregated.public void onEvent(RequestEvent event)
RequestEventListenerRequestEvent.Type.START as this event is handled by ApplicationEventListener.onEvent in interface RequestEventListenerevent - Request event.Copyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.