in src/main/java/com/alibaba/cloudapi/sdk/signature/SignerFactoryManager.java [28:39]
public static ISignerFactory registerSignerFactory(String method, ISignerFactory factory) {
if (HttpCommonUtil.isEmpty(method)) {
throw new IllegalArgumentException("method can not be empty");
}
if (null == factory) {
throw new IllegalArgumentException("factory can not be null");
}
return factoryMap.put(method, factory);
}