public class ProxyPoolClient extends java.lang.Object implements LogMappable
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyPoolClient.ProxyPoolClientBuilder
Class used to build a proxy pool client since there are many parameters.
|
static class |
ProxyPoolClient.ProxyType
Types of proxies
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
convertMap()
Converts the current object into a mapping of key-value pairs that can be logged
|
void |
getNewProxy()
Sets a new proxy on the session.
|
void |
reportBadProxy()
Reports the current proxy as bad and retrieves a new proxy
|
void |
reportBadProxy(boolean getNewProxy)
Reports the current proxy as bad and optionally retrieves a new proxy
|
void |
resetBlacklist()
Resets the blacklist for the domain this client is using.
|
public void getNewProxy()
public void reportBadProxy()
public void reportBadProxy(boolean getNewProxy)
getNewProxy - True if this should also get a new proxy, false to clear the proxypublic void resetBlacklist()
@NotNull public java.util.Map<java.lang.String,java.lang.Object> convertMap()
LogMappableconvertMap in interface LogMappable