use of com.caucho.hessian.client.HessianConnection in project dubbo by alibaba.
the class DubboHessianURLConnectionFactory method open.
@Override
public HessianConnection open(URL url) throws IOException {
HessianConnection connection = super.open(url);
RpcContext context = RpcContext.getContext();
for (String key : context.getObjectAttachments().keySet()) {
connection.addHeader(Constants.DEFAULT_EXCHANGER + key, context.getAttachment(key));
}
return connection;
}
Aggregations