Class ConcurrentIncludeProcessor
java.lang.Object
org.frontcache.include.IncludeProcessorBase
org.frontcache.include.impl.ConcurrentIncludeProcessor
- All Implemented Interfaces:
IncludeProcessor
Processing URL example invalid input: '<'fc:include url="/some/url/here" />
-
Field Summary
Fields inherited from class IncludeProcessorBase
END_MARKER, INCLUDE_FETCH_TARGET_DEFAULT, INCLUDE_FETCH_TARGET_EDGE, INCLUDE_FETCH_TARGET_ORIGIN, INCLUDE_FETCH_TARGET_PROPERTY, INCLUDE_TYPE_ASYNC, INCLUDE_TYPE_SYNC, logger, START_MARKERFields inherited from interface IncludeProcessor
MAX_INCLUDE_LENGHT, MAX_RECURSION_LEVEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidinit(Properties properties) Readsfront-cache.include-fetch-target.processIncludes(WebResponse parentWebResponse, String hostURL, Map<String, List<String>> requestHeaders, FcHttpClient client, RequestContext context, int recursionLevel) Methods inherited from class IncludeProcessorBase
callInclude, fetchIncludeFromOrigin, getIncludeClientType, getIncludeCombineGroup, getIncludeFromCache, getIncludeType, getIncludeURL, hasIncludes, includeFetchBaseURL, isDirectOriginFetch, isDynamicURL, isIncludeResponseCacheable, isLoopbackOriginFetch, logCombinedInclude, mergeIncludeResponseHeadersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IncludeProcessor
hasIncludes
-
Constructor Details
-
ConcurrentIncludeProcessor
public ConcurrentIncludeProcessor()
-
-
Method Details
-
init
Description copied from class:IncludeProcessorBaseReadsfront-cache.include-fetch-target. A subclass that overrides this must callsuper.init(properties)to honour the property; one that does not keepsedge, which is what it does today.- Specified by:
initin interfaceIncludeProcessor- Overrides:
initin classIncludeProcessorBase
-
destroy
public void destroy()- Specified by:
destroyin interfaceIncludeProcessor- Overrides:
destroyin classIncludeProcessorBase
-
processIncludes
public WebResponse processIncludes(WebResponse parentWebResponse, String hostURL, Map<String, List<String>> requestHeaders, FcHttpClient client, RequestContext context, int recursionLevel) - Specified by:
processIncludesin interfaceIncludeProcessor- Parameters:
hostURL-content-- Returns:
-