public class ProxyAccessPoint extends CompositeAccessPoint
CompositeAccessPoint.Status
AccessPoint.PerfStat, AccessPoint.SingleLoadResourceStore
Modifier and Type | Field and Description |
---|---|
static String |
PROXY_PAC_PATH |
static String |
SWITCH_COLLECTION_PATH |
REQUEST_CONTEXT_PREFIX
EMPTY_VALUE, INTERSTITIAL_DATE, INTERSTITIAL_JSP, INTERSTITIAL_SECONDS, INTERSTITIAL_TARGET, INTERSTITIAL_URL, REVISIT_STR, RUNTIME_ERROR_HEADER
Constructor and Description |
---|
ProxyAccessPoint() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
baseHandleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
ResultURIConverter |
getArchivalToProxyConverter() |
ProxyConfigSelector |
getConfigSelector() |
List<String> |
getDirectHosts() |
String |
getHttpsProxyHostPort() |
AccessPoint |
getNonProxyAccessPoint() |
String |
getProxyHostPort() |
protected boolean |
handleNonProxy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected boolean |
handleProxy(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Possibly handle an incoming HttpServletRequest, much like a normal
HttpServlet, but includes a return value.
|
boolean |
isProxyEnabled() |
void |
setArchivalToProxyConverter(ResultURIConverter archivalToProxyConverter) |
void |
setConfigSelector(ProxyConfigSelector configSelector) |
void |
setDirectHosts(List<String> directHosts) |
void |
setHttpsProxyHostPort(String httpsProxyHostPort) |
void |
setNonProxyAccessPoint(AccessPoint nonProxyAccessPoint) |
void |
setProxyHostPort(String proxyHostPort) |
protected void |
writeProxyPac(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse) |
findConfigForFile, getAccessPointConfigs, getOracleUrl, getStaticExclusions, getUriConverterFactory, handleRequest, setAccessPointConfigs, setOracleUrl, setStaticExclusions, setUriConverterFactory
checkAccessPointAware, closeResources, createExclusionFilter, dispatchLocal, getAuthentication, getCollection, getCollectionContextName, getConfigs, getEmbargoMS, getErrorMsgHeader, getException, getExclusionFactory, getFileExcludePrefixes, getFileIncludePrefixes, getFilePatterns, getFilterFactory, getInterstitialJsp, getLiveWebPrefix, getLiveWebRedirector, getLocale, getMaxRedirectAttempts, getMementoHandler, getParser, getPerfStatsHeader, getQuery, getQueryCollapseTime, getQueryPrefix, getRefererAuth, getReplay, getReplayPrefix, getRewriteDirective, getRewriteDirector, getSelfRedirectCanonicalizer, getStaticPrefix, getUriConverter, getUrlRoot, getWarcFileHeader, handleQuery, handleReplay, handleReplayRedirect, init, isBounceToQueryPrefix, isBounceToReplayPrefix, isEnableErrorMsgHeader, isEnableMemento, isEnablePerfStatsHeader, isEnableWarcFileHeader, isExactHostMatch, isExactSchemeMatch, isFixedEmbeds, isForceCleanQueries, isRequestAuth, isSelfRedirect, isServeStatic, isTimestampSearch, isUseAnchorWindow, isUseServerName, isWaybackReferer, isWaybackReferer, logError, makeCaptureQueryUrl, queryIndex, retrievePayloadForIdenticalContentRevisit, searchCaptures, setAuthentication, setBounceToQueryPrefix, setBounceToReplayPrefix, setCollection, setConfigs, setEmbargoMS, setEnableErrorMsgHeader, setEnableMemento, setEnablePerfStatsHeader, setEnableWarcFileHeader, setErrorMsgHeader, setExactHostMatch, setExactSchemeMatch, setException, setExclusionFactory, setFileExcludePrefixes, setFileIncludePrefixes, setFilePatterns, setFilterFactory, setFixedEmbeds, setForceCleanQueries, setInterstitialJsp, setLiveWebPrefix, setLiveWebRedirector, setLocale, setMaxRedirectAttempts, setMementoHandler, setParser, setPerfStatsHeader, setPerfStatsHeaderFormat, setQuery, setQueryCollapseTime, setQueryPrefix, setRefererAuth, setReplay, setReplayPrefix, setRequestAuth, setRewriteDirector, setSelfRedirectCanonicalizer, setServeStatic, setStaticPrefix, setTimestampSearch, setUriConverter, setUrlRoot, setUseAnchorWindow, setUseServerName, setWarcFileHeader, shutdown
getAccessPointPath, getBeanName, getInternalPort, getMapParam, getMapParamOrEmpty, getRequiredMapParam, getServletContext, registerPortListener, setAccessPointPath, setBeanName, setInternalPort, setServletContext, translateRequestPath, translateRequestPathQuery
public static final String SWITCH_COLLECTION_PATH
public static final String PROXY_PAC_PATH
public boolean isProxyEnabled()
isProxyEnabled
in class CompositeAccessPoint
public ProxyConfigSelector getConfigSelector()
public void setConfigSelector(ProxyConfigSelector configSelector)
public AccessPoint getNonProxyAccessPoint()
public void setNonProxyAccessPoint(AccessPoint nonProxyAccessPoint)
public String getProxyHostPort()
public void setProxyHostPort(String proxyHostPort)
public String getHttpsProxyHostPort()
public void setHttpsProxyHostPort(String httpsProxyHostPort)
public ResultURIConverter getArchivalToProxyConverter()
public void setArchivalToProxyConverter(ResultURIConverter archivalToProxyConverter)
public boolean handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
RequestHandler
handleRequest
in interface RequestHandler
handleRequest
in class CompositeAccessPoint
request
- HttpServletRequest which is being handledresponse
- HttpServletResponse which is being handledjavax.servlet.ServletException
- per usualIOException
- per usualprotected boolean handleNonProxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected boolean handleProxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected boolean baseHandleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
protected void writeProxyPac(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws javax.servlet.ServletException, IOException
javax.servlet.ServletException
IOException
Copyright © 2005–2015 IIPC. All rights reserved.