com.taobao.csp.sentinel.slots.block.callbacks.DefaultResourceHook Maven / Gradle / Ivy
package com.taobao.csp.sentinel.slots.block.callbacks;
import com.taobao.csp.sentinel.hook.HookTarget;
public class DefaultResourceHook implements ResourceHook {
@Override
public Object doHook(HookTarget target) throws Throwable {
return target.call();
}
@Override
public boolean needHock(String resource, String type) {
return false;
}
}