Class FC_ThroughCache_HttpClient
java.lang.Object
org.frontcache.resilience.FcCommand<WebResponse>
org.frontcache.resilience.FC_ThroughCache_HttpClient
-
Nested Class Summary
Nested classes/interfaces inherited from class FcCommand
FcCommand.Setter -
Constructor Summary
ConstructorsConstructorDescriptionFC_ThroughCache_HttpClient(String urlStr, Map<String, List<String>> requestHeaders, org.apache.hc.client5.http.classic.HttpClient client, RequestContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected WebResponseOverridden by every Frontcache command.protected WebResponserun()Methods inherited from class FcCommand
execute, getCommandKey, getExecutionDescription, getExecutionEvents, getFailedExecutionException, getGroupKey
-
Constructor Details
-
FC_ThroughCache_HttpClient
-
-
Method Details
-
run
- Specified by:
runin classFcCommand<WebResponse>- Throws:
FrontCacheException
-
getFallback
Description copied from class:FcCommandOverridden by every Frontcache command. The base implementation signals "no fallback available", whichFcCommand.execute()turns into anFcCommandException- the HystrixRuntimeException equivalent.- Overrides:
getFallbackin classFcCommand<WebResponse>
-