com.github.tobato.fastdfs.conn.FdfsWebServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fastdfs-client Show documentation
Show all versions of fastdfs-client Show documentation
基于yuqih发布的代码与fastdfs-client 官方1.26版本的重构
package com.github.tobato.fastdfs.conn;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import com.github.tobato.fastdfs.FdfsClientConstants;
/**
* 表示文件Web服务器对象
*
*
* 由Nginx服务器承担此角色,通常配置以后就不会再改变
*
*
* @author tobato
*
*/
@Component
@ConfigurationProperties(prefix = FdfsClientConstants.ROOT_CONFIG_PREFIX)
public class FdfsWebServer {
private String webServerUrl;
public String getWebServerUrl() {
return webServerUrl;
}
public void setWebServerUrl(String webServerUrl) {
this.webServerUrl = webServerUrl;
}
}