net.dreamlu.boot.properties.DreamHttpCacheProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lutool-boot Show documentation
Show all versions of lutool-boot Show documentation
An enhanced toolkit of Spring boot to simplify development.
The newest version!
package net.dreamlu.boot.properties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.util.ArrayList;
import java.util.List;
@ConfigurationProperties("dream.http.cache")
public class DreamHttpCacheProperties {
/**
* Http-cache 的 spring cache名,默认:dreamHttpCache
*/
@Getter
@Setter
private String cacheName = DreamDefaults.HttpCache.chacheName;
@Getter
private final List includePatterns = new ArrayList(){{ add("/**"); }};
@Getter
private final List excludePatterns = new ArrayList<>();
}