Class NetProxyInfo

java.lang.Object
com.pnfsoftware.jeb.util.net.NetProxyInfo

public class NetProxyInfo extends Object
Network proxy information.

Immutable objects; safe comparison via hashCode/equals.

  • Field Details

  • Constructor Details

  • Method Details

    • getProxyTypes

      public static List<String> getProxyTypes()
    • getProxyTypesWithDescriptions

      public static List<String> getProxyTypesWithDescriptions()
    • getProxyTypeFromIndex

      public static String getProxyTypeFromIndex(int index)
    • parse

      public static NetProxyInfo parse(String s)
    • isProxy

      public boolean isProxy()
    • getProxy

      public Proxy getProxy()
    • getType

      public String getType()
    • getTypeIndex

      public int getTypeIndex()
    • getHostname

      public String getHostname()
    • getPort

      public int getPort()
    • getUser

      public String getUser()
    • getPassword

      public String getPassword()
    • hasCredentials

      public boolean hasCredentials()
    • getAuthenticator

      public okhttp3.Authenticator getAuthenticator()
    • getWhitelist

      public String getWhitelist()
    • isWhitelisted

      public boolean isWhitelisted(String url)
    • getRecordedHostname

      public String getRecordedHostname()
    • getRecordedPort

      public int getRecordedPort()
    • getRecordedUser

      public String getRecordedUser()
    • getRecordedPassword

      public String getRecordedPassword()
    • getRecordedWhitelist

      public String getRecordedWhitelist()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object