@WebListener public class DestinationsRequestContextListener extends Object implements RequestContextListener, javax.servlet.ServletContextListener
RequestContextListener that enables the correct use of Destinations when working
with non-container managed threads on all supported Cloud platforms.| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_HTTP_CLIENTS |
naturalOrdering, reverseOrdering| Constructor and Description |
|---|
DestinationsRequestContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
int |
getPriority()
Returns the priority that defines the order in which listeners are invoked.
|
void |
requestContextDestroyed(RequestContext requestContext)
Invoked when destroying a
RequestContext. |
void |
requestContextInitialized(RequestContext requestContext)
Invoked when initializing a
RequestContext. |
public static final String PROPERTY_HTTP_CLIENTS
public int getPriority()
RequestContextListener0 as default.getPriority in interface RequestContextListenerpublic void requestContextInitialized(RequestContext requestContext)
RequestContextListenerRequestContext.requestContextInitialized in interface RequestContextListenerpublic void requestContextDestroyed(RequestContext requestContext)
RequestContextListenerRequestContext.requestContextDestroyed in interface RequestContextListenerpublic void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2017 SAP SE. All rights reserved.