All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pro.shuangxi.support.HandlerAdapter Maven / Gradle / Ivy

package pro.shuangxi.support;

import pro.shuangxi.pojo.DispatcherParam;

/**
 * @author :mengshx
 * datetime :Created in 2022/3/28 10:39
 * 处理器
 */
public interface HandlerAdapter {
    default boolean supports(DispatcherParam param){
        if (param.getAdapter().getName().equals(this.getClass().getName())) {
            return true;
        }
        return false;
    }

    void handle(DispatcherParam param);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy