public enum EHttpProxyType extends Enum<EHttpProxyType> implements IProxySettingsPerProtocol
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
static EHttpProxyType |
getFromIDOrNull(String sID) |
static EHttpProxyType |
getFromURLProtocolOrDefault(com.helger.commons.url.IURLProtocol aURLProtocol,
EHttpProxyType eDefault) |
String |
getID() |
String |
getPropertyNameNoProxyHosts() |
Proxy.Type |
getProxyType() |
com.helger.commons.url.IURLProtocol |
getURLProtocol() |
static EHttpProxyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EHttpProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetNoProxyHosts, getPropertyNameProxyHost, getPropertyNameProxyPassword, getPropertyNameProxyPort, getPropertyNameProxyUserName, getProxyHost, getProxyPassword, getProxyPort, getProxyUserNamepublic static final EHttpProxyType HTTP
public static final EHttpProxyType HTTPS
public static final EHttpProxyType FTP
public static EHttpProxyType[] values()
for (EHttpProxyType c : EHttpProxyType.values()) System.out.println(c);
public static EHttpProxyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nonnull public Proxy.Type getProxyType()
@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public com.helger.commons.url.IURLProtocol getURLProtocol()
getURLProtocol in interface IProxySettingsPerProtocolnull.@Nonnegative public int getDefaultPort()
getDefaultPort in interface IProxySettingsPerProtocol@Nonnull public String getPropertyNameNoProxyHosts()
getPropertyNameNoProxyHosts in interface IProxySettingsPerProtocol@Nullable public static EHttpProxyType getFromIDOrNull(@Nullable String sID)
@Nullable public static EHttpProxyType getFromURLProtocolOrDefault(@Nullable com.helger.commons.url.IURLProtocol aURLProtocol, @Nullable EHttpProxyType eDefault)
Copyright © 2016–2019 Philip Helger. All rights reserved.