public class DefaultFastdfsProperties extends Object implements FastdfsProperties, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
DefaultFastdfsProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
String |
getCharset()
fastdfs.charset
|
int |
getConnectTimeoutInseconds()
fastdfs.connect_timeout_in_seconds
|
String |
getHttpSecretKey()
fastdfs.http_secret_key
|
int |
getHttpTrackerHttpPort()
fastdfs.http_tracker_http_port
|
int |
getNetworkTimeoutInSeconds()
fastdfs.network_timeout_in_seconds
|
List<String> |
getTrackerServers()
fastdfs.tracker_servers
|
boolean |
isHttpAntiStealToken()
fastdfs.http_anti_steal_token
|
void |
setCharset(String charset) |
void |
setConnectTimeoutInseconds(int connectTimeoutInseconds) |
void |
setHttpAntiStealToken(boolean httpAntiStealToken) |
void |
setHttpSecretKey(String httpSecretKey) |
void |
setHttpTrackerHttpPort(int httpTrackerHttpPort) |
void |
setNetworkTimeoutInSeconds(int networkTimeoutInSeconds) |
void |
setTrackerServers(List<String> trackerServers) |
public int getConnectTimeoutInseconds()
FastdfsPropertiesgetConnectTimeoutInseconds in interface FastdfsPropertiespublic void setConnectTimeoutInseconds(int connectTimeoutInseconds)
public int getNetworkTimeoutInSeconds()
FastdfsPropertiesgetNetworkTimeoutInSeconds in interface FastdfsPropertiespublic void setNetworkTimeoutInSeconds(int networkTimeoutInSeconds)
public String getCharset()
FastdfsPropertiesgetCharset in interface FastdfsPropertiespublic void setCharset(String charset)
public boolean isHttpAntiStealToken()
FastdfsPropertiesisHttpAntiStealToken in interface FastdfsPropertiespublic void setHttpAntiStealToken(boolean httpAntiStealToken)
public String getHttpSecretKey()
FastdfsPropertiesgetHttpSecretKey in interface FastdfsPropertiespublic void setHttpSecretKey(String httpSecretKey)
public int getHttpTrackerHttpPort()
FastdfsPropertiesgetHttpTrackerHttpPort in interface FastdfsPropertiespublic void setHttpTrackerHttpPort(int httpTrackerHttpPort)
public List<String> getTrackerServers()
FastdfsPropertiesgetTrackerServers in interface FastdfsPropertiesCopyright © 2019. All rights reserved.