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

com.github.yingzhuo.fastdfs.springboot.properties.RootProperties Maven / Gradle / Ivy

The newest version!
package com.github.yingzhuo.fastdfs.springboot.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

@Getter
@Setter
@ConfigurationProperties(prefix = "fastdfs")
public class RootProperties implements InitializingBean {

    private boolean enabled = true;
    private int soTimeout;
    private int connectTimeout;
    private Charset charset = StandardCharsets.UTF_8;
    private boolean safeMode = true;

    @Override
    public void afterPropertiesSet() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy