com.cybermkd.route.config.HandlerLoader Maven / Gradle / Ivy
package com.cybermkd.route.config;
import com.cybermkd.route.handler.Handler;
import java.util.ArrayList;
import java.util.List;
/**
* Handlers.
*/
final public class HandlerLoader {
private final List handlerList = new ArrayList();
public HandlerLoader add(Handler handler) {
if (handler != null)
handlerList.add(handler);
return this;
}
public List getHandlerList() {
return handlerList;
}
}