Class CommonProxy

java.lang.Object
de.galan.commons.net.CommonProxy

public class CommonProxy extends Object
Simple wrapper for a proxy in form [username[:password]]@host[:port]
  • Constructor Details

  • Method Details

    • parse

      public static CommonProxy parse(String proxy)
      Convenience-method even thu it creates a cyclic dependency to CommonProxyParser
    • getUsername

      public String getUsername()
    • getPassword

      public String getPassword()
    • hasAuthentication

      public boolean hasAuthentication()
    • getIp

      public String getIp()
    • getPort

      public int getPort()
    • toString

      public String toString()
      Overrides:
      toString in class Object