public class ContentProxyPlugin extends AbstractPlugin
Modifier and Type | Field and Description |
---|---|
static String |
CPROXY_CONFIG_PROXY_HOST_NAME |
static String |
CPROXY_CONFIG_SESSION_DIR |
static String |
SESSION_ATTR_SEARCH_COUNT |
static String |
SESSION_ATTR_TARGET_SESSION_MAP |
static String |
SP_CONFIG_CPROXY_CONFIG_FILE |
Constructor and Description |
---|
ContentProxyPlugin() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
getUrlFieldsToRewrite() |
void |
serve(ServiceRequest request,
ServiceResponse response,
ChainControl chain)
Rewrites URL's in the Pazpar2 response document to invoke the cproxy and content connnectors for access to
native UIs.
|
getChainName, getConfig, getName, getNodeList, getXmlString, setChainName, setConfig, setName
public static String SP_CONFIG_CPROXY_CONFIG_FILE
public static String CPROXY_CONFIG_PROXY_HOST_NAME
public static String CPROXY_CONFIG_SESSION_DIR
public static String SESSION_ATTR_TARGET_SESSION_MAP
public static String SESSION_ATTR_SEARCH_COUNT
public void serve(ServiceRequest request, ServiceResponse response, ChainControl chain) throws ServiceException, IOException
serve
in interface Plugin
serve
in class AbstractPlugin
request
- service requestresponse
- service responsechain
- chain-control utilityIOException
- of any kindServiceException
Copyright © 2008-2015 Index Data. All Rights Reserved.