Package com.biglybt.core.util.http
Class HTTPAuthHelper
java.lang.Object
com.biglybt.core.util.http.HTTPAuthHelper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
static final int
private final Map
(package private) final boolean
private final URL
(package private) final String
(package private) final int
private Proxy
private boolean
private boolean
private final CopyOnWriteList
static final int
private final HTTPAuthHelper
private int
(package private) final List
static final int
private ServerSocket
(package private) final ThreadPool
static final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
HTTPAuthHelper
(HTTPAuthHelper _parent, URL _delegate_to) HTTPAuthHelper
(URL url) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(HTTPAuthHelperListener listener) private void
addSetCookieName
(String name, String value) void
destroy()
private HTTPAuthHelper
private String
int
getPort()
private boolean
hasSetCookieName
(String name) private void
void
void
start()
private void
boolean
-
Field Details
-
TRACE
public static final boolean TRACE- See Also:
-
MAX_PROCESSORS
public static final int MAX_PROCESSORS- See Also:
-
CONNECT_TIMEOUT
public static final int CONNECT_TIMEOUT- See Also:
-
READ_TIMEOUT
public static final int READ_TIMEOUT- See Also:
-
parent
-
children
-
delegate_to
-
delegate_to_host
-
delegate_to_port
final int delegate_to_port -
delegate_is_https
final boolean delegate_is_https -
delegate_to_proxy
-
listeners
-
port
private int port -
server_socket
-
http_only_detected
private boolean http_only_detected -
cookie_names_set
-
thread_pool
-
processors
-
destroyed
private volatile boolean destroyed
-
-
Constructor Details
-
Method Details
-
setProxy
-
start
public void start() -
getPort
public int getPort() -
wasHTTPOnlyCookieDetected
public boolean wasHTTPOnlyCookieDetected() -
setHTTPOnlyCookieDetected
private void setHTTPOnlyCookieDetected() -
getKey
-
getChild
- Throws:
Exception
-
addSetCookieName
-
hasSetCookieName
-
addListener
-
destroy
public void destroy() -
trace
-