com.github.zj.dreamly.security.jwt.spec.SpecRegistry Maven / Gradle / Ivy
package com.github.zj.dreamly.security.jwt.spec;
import com.github.zj.dreamly.security.jwt.enums.HttpMethod;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* @author 苍海之南
*/
@Data
public class SpecRegistry {
private List specList = new ArrayList<>();
public SpecRegistry add(HttpMethod httpMethod, String path, String expression) {
specList.add(new Spec(httpMethod, path, expression));
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy