public class AjaxProxyComponent extends DefaultComponent implements AjaxProxyService
Modifier and Type | Field and Description |
---|---|
protected static ReentrantReadWriteLock |
cacheLock |
static String |
PROXY_URL_EP |
protected static Map<String,ProxyURLConfigEntry> |
urlCache |
protected static Map<String,ProxyableURLDescriptor> |
urlDescriptors |
lastModified
Constructor and Description |
---|
AjaxProxyComponent() |
Modifier and Type | Method and Description |
---|---|
ProxyURLConfigEntry |
computeConfigForURL(String targetUrl) |
ProxyURLConfigEntry |
getConfigForURL(String targetUrl) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
protected void |
registerProxyURL(ProxyableURLDescriptor desc) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtension
public static final String PROXY_URL_EP
protected static final Map<String,ProxyableURLDescriptor> urlDescriptors
protected static final Map<String,ProxyURLConfigEntry> urlCache
protected static final ReentrantReadWriteLock cacheLock
public AjaxProxyComponent()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
protected void registerProxyURL(ProxyableURLDescriptor desc)
public ProxyURLConfigEntry getConfigForURL(String targetUrl)
getConfigForURL
in interface AjaxProxyService
public ProxyURLConfigEntry computeConfigForURL(String targetUrl)
Copyright © 2015 Nuxeo SA. All rights reserved.