类 ReplierDispatcher
- java.lang.Object
-
- com.alibaba.dubbo.remoting.exchange.support.ReplierDispatcher
-
-
构造器概要
构造器 构造器 说明 ReplierDispatcher()
ReplierDispatcher(Replier<?> defaultReplier)
ReplierDispatcher(Replier<?> defaultReplier, Map<Class<?>,Replier<?>> repliers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 <T> ReplierDispatcher
addReplier(Class<T> type, Replier<T> replier)
<T> ReplierDispatcher
removeReplier(Class<T> type)
Object
reply(ExchangeChannel channel, Object request)
reply.
-
-
-
方法详细资料
-
addReplier
public <T> ReplierDispatcher addReplier(Class<T> type, Replier<T> replier)
-
removeReplier
public <T> ReplierDispatcher removeReplier(Class<T> type)
-
reply
public Object reply(ExchangeChannel channel, Object request) throws RemotingException
从接口复制的说明:Replier
reply.- 指定者:
reply
在接口中Replier<Object>
- 返回:
- response
- 抛出:
RemotingException
-
-