Package org.chenile.proxy.interceptors
Class ProxyTypeRouter
- All Implemented Interfaces:
AttachableCommand<ChenileExchange>
,BypassableCommand<ChenileExchange>
,Command<ChenileExchange>
,OrchestrationAware<ChenileExchange>
Returns the correct route based on if the service is local or remote
- Author:
- Raja Shankar Kolluru
-
Field Summary
Fields inherited from class org.chenile.owiz.impl.Router
commandsMap, DEFAULT, defaultCommandDescriptor, ROUTE
Fields inherited from class org.chenile.owiz.impl.CommandBase
commandDescriptor, orchConfigurator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate String
computeDynamic
(ChenileExchange exchange) protected String
computeRoutingString
(ChenileExchange exchange) private String
proxyMode
(ChenileExchange exchange) Methods inherited from class org.chenile.owiz.impl.Router
attachCommand, doExecute
Methods inherited from class org.chenile.owiz.impl.CommandBase
bypass, execute, getConfigValue, getId, getParentId, obtainCommand, postprocess, preprocess, setCommandDescriptor, setOrchConfigurator
-
Field Details
-
chenileConfiguration
-
-
Constructor Details
-
ProxyTypeRouter
public ProxyTypeRouter()
-
-
Method Details
-
computeRoutingString
- Specified by:
computeRoutingString
in classRouter<ChenileExchange>
- Throws:
Exception
-
proxyMode
-
computeDynamic
-