public class RequestContextListenerChain extends Object
Modifier | Constructor and Description |
---|---|
protected |
RequestContextListenerChain(PriorityQueue<RequestContextListener> requestContextListeners) |
Modifier and Type | Method and Description |
---|---|
static void |
addDefaultListener(RequestContextListener listener)
Registers a default
RequestContextListener . |
static RequestContextListenerChainBuilder |
builder() |
Collection<RequestContextListener> |
getListeners() |
Collection<RequestContextListener> |
getListenersReverseOrdering() |
static void |
removeDefaultListener(RequestContextListener listener)
Unregisters a default
RequestContextListener . |
protected RequestContextListenerChain(PriorityQueue<RequestContextListener> requestContextListeners)
public Collection<RequestContextListener> getListeners()
public Collection<RequestContextListener> getListenersReverseOrdering()
public static void addDefaultListener(RequestContextListener listener)
RequestContextListener
.listener
- The default listener to be added.public static void removeDefaultListener(RequestContextListener listener)
RequestContextListener
.listener
- The default listener to be removed.public static RequestContextListenerChainBuilder builder()
Copyright © 2018 SAP SE. All rights reserved.