protected RpcRequest createRpcRequest( RpcHost host, String division, String accessCode, String verifyCode, String rpcContext, String rpcName, List params) { RpcRequest request = new RpcRequest( host, RpcUriUtils.toCredentials(division, accessCode, verifyCode), rpcContext, rpcName, params); if (getTimeout() > 0) request.setTimeout(getTimeout()); return request; }
protected RpcRequest createRpcRequest(String uri, List params) { RpcRequest request = new RpcRequest(uri, params); if (getTimeout() > 0) request.setTimeout(getTimeout()); return request; }