public class FtpServerBuilder extends AbstractEndpointBuilder<FtpServer>
| Constructor and Description |
|---|
FtpServerBuilder() |
| Modifier and Type | Method and Description |
|---|---|
FtpServerBuilder |
autoConnect(boolean autoConnect)
Sets the autoConnect property.
|
FtpServerBuilder |
autoHandleCommands(String autoHandleCommands)
Sets the autoHandleCommands property.
|
FtpServerBuilder |
autoLogin(boolean autoLogin)
Sets the autoLogin property.
|
FtpServerBuilder |
autoStart(boolean autoStart)
Sets the autoStart property.
|
FtpServerBuilder |
debugLogging(boolean enabled)
Sets the debug logging enabled flag.
|
FtpServerBuilder |
endpointAdapter(EndpointAdapter endpointAdapter)
Sets the endpoint adapter.
|
protected FtpServer |
getEndpoint() |
FtpServerBuilder |
port(int port)
Sets the port property.
|
FtpServerBuilder |
server(org.apache.ftpserver.FtpServer server)
Sets the ftp server.
|
FtpServerBuilder |
timeout(long timeout)
Sets the default timeout.
|
FtpServerBuilder |
userManager(org.apache.ftpserver.ftplet.UserManager userManager)
Sets the userManager property.
|
FtpServerBuilder |
userManagerProperties(org.springframework.core.io.Resource userManagerProperties)
Sets the userManager properties.
|
actor, applicationContext, build, build, initialize, nameprotected FtpServer getEndpoint()
getEndpoint in class AbstractEndpointBuilder<FtpServer>public FtpServerBuilder port(int port)
port - public FtpServerBuilder autoStart(boolean autoStart)
autoStart - public FtpServerBuilder autoConnect(boolean autoConnect)
autoConnect - public FtpServerBuilder autoLogin(boolean autoLogin)
autoLogin - public FtpServerBuilder autoHandleCommands(String autoHandleCommands)
autoHandleCommands - public FtpServerBuilder server(org.apache.ftpserver.FtpServer server)
server - public FtpServerBuilder userManager(org.apache.ftpserver.ftplet.UserManager userManager)
userManager - public FtpServerBuilder userManagerProperties(org.springframework.core.io.Resource userManagerProperties)
userManagerProperties - public FtpServerBuilder endpointAdapter(EndpointAdapter endpointAdapter)
endpointAdapter - public FtpServerBuilder debugLogging(boolean enabled)
enabled - public FtpServerBuilder timeout(long timeout)
timeout - Copyright © 2008–2018 ConSol Software GmbH. All rights reserved.