Class HostBuilder

java.lang.Object
io.milton.httpclient.HostBuilder

public class HostBuilder extends Object
Author:
brad
  • Constructor Details

    • HostBuilder

      public HostBuilder()
  • Method Details

    • buildHost

      public Host buildHost()
    • getServer

      public String getServer()
      Returns:
      the server
    • setServer

      public void setServer(String server)
      Parameters:
      server - the server to set
    • setSecure

      public void setSecure(boolean secure)
    • isSecure

      public boolean isSecure()
    • getPort

      public int getPort()
      Returns:
      the port
    • setPort

      public void setPort(int port)
      Parameters:
      port - the port to set
    • getUser

      public String getUser()
      Returns:
      the user
    • setUser

      public void setUser(String user)
      Parameters:
      user - the user to set
    • getPassword

      public String getPassword()
      Returns:
      the password
    • setPassword

      public void setPassword(String password)
      Parameters:
      password - the password to set
    • getRootPath

      public String getRootPath()
      Returns:
      the rootPath
    • setRootPath

      public void setRootPath(String rootPath)
      Parameters:
      rootPath - the rootPath to set
    • getProxy

      public ProxyDetails getProxy()
    • setProxy

      public void setProxy(ProxyDetails proxy)
    • getCache

      public Map<Folder,List<Resource>> getCache()
    • setCache

      public void setCache(Map<Folder,List<Resource>> cache)
    • getTimeoutMillis

      public int getTimeoutMillis()
    • setTimeoutMillis

      public void setTimeoutMillis(int timeoutMillis)
    • getFileSyncer

      public FileSyncer getFileSyncer()
    • setFileSyncer

      public void setFileSyncer(FileSyncer fileSyncer)