@ConfigurationProperties(value="ftp.factory") @Validated public class FtpSessionFactoryProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FtpSessionFactoryProperties.ClientMode |
Constructor and Description |
---|
FtpSessionFactoryProperties() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getCacheSessions() |
@NotNull FtpSessionFactoryProperties.ClientMode |
getClientMode() |
@NotBlank String |
getHost() |
String |
getPassword() |
@Range(min=0L,max=65535L) int |
getPort() |
@NotBlank String |
getUsername() |
void |
setCacheSessions(Boolean cacheSessions) |
void |
setClientMode(FtpSessionFactoryProperties.ClientMode clientMode) |
void |
setHost(String host) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setUsername(String username) |
@Range(min=0L, max=65535L) public @Range(min=0L,max=65535L) int getPort()
public void setPort(int port)
@NotNull public @NotNull FtpSessionFactoryProperties.ClientMode getClientMode()
public void setClientMode(FtpSessionFactoryProperties.ClientMode clientMode)
@NotBlank public @NotBlank String getHost()
public void setHost(String host)
@NotBlank public @NotBlank String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public Boolean getCacheSessions()
public void setCacheSessions(Boolean cacheSessions)
Copyright © 2022. All rights reserved.