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

net.dreamlu.boot.properties.DreamHttpCacheProperties Maven / Gradle / Ivy

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<>();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy