public class AnonymousSocks5Server extends Object implements Runnable
Java Mail only support anonymous SOCKS proxies; in order to support authenticated proxies, we need to create a man-in-the-middle: which is the
AnonymousSocks5Server
.
Constructor and Description |
---|
AnonymousSocks5Server(Socks5Bridge socks5Bridge,
int proxyBridgePort) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRunning() |
boolean |
isStopping() |
void |
run() |
void |
start()
Binds the port and starts a thread to listen to incoming proxy connections from JavaMail.
|
void |
stop() |
public AnonymousSocks5Server(Socks5Bridge socks5Bridge, int proxyBridgePort)
Copyright © 2017. All rights reserved.