public class ScriptRouter extends AbstractRouter
| Constructor and Description |
|---|
ScriptRouter(URL url) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<Invoker<T>> |
route(List<Invoker<T>> invokers,
URL url,
Invocation invocation)
route.
|
compareTo, getPriority, getUrlpublic ScriptRouter(URL url)
public <T> List<Invoker<T>> route(List<Invoker<T>> invokers, URL url, Invocation invocation) throws RpcException
Routerurl - refer urlRpcExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.