Class HTTPAuthHelper

java.lang.Object
com.biglybt.core.util.http.HTTPAuthHelper

public class HTTPAuthHelper extends Object
  • 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

      private final HTTPAuthHelper parent
    • children

      private final Map children
    • delegate_to

      private final URL delegate_to
    • delegate_to_host

      final String delegate_to_host
    • delegate_to_port

      final int delegate_to_port
    • delegate_is_https

      final boolean delegate_is_https
    • delegate_to_proxy

      private Proxy delegate_to_proxy
    • listeners

      private final CopyOnWriteList listeners
    • port

      private int port
    • server_socket

      private ServerSocket server_socket
    • http_only_detected

      private boolean http_only_detected
    • thread_pool

      final ThreadPool thread_pool
    • processors

      final List processors
    • destroyed

      private volatile boolean destroyed
  • Constructor Details

  • Method Details

    • setProxy

      public void setProxy(Proxy _proxy)
    • start

      public void start()
    • getPort

      public int getPort()
    • wasHTTPOnlyCookieDetected

      public boolean wasHTTPOnlyCookieDetected()
    • setHTTPOnlyCookieDetected

      private void setHTTPOnlyCookieDetected()
    • getKey

      private String getKey(URL url)
    • getChild

      private HTTPAuthHelper getChild(String url_str, boolean optional) throws Exception
      Throws:
      Exception
    • addSetCookieName

      private void addSetCookieName(String name, String value)
    • hasSetCookieName

      private boolean hasSetCookieName(String name)
    • addListener

      public void addListener(HTTPAuthHelperListener listener)
    • destroy

      public void destroy()
    • trace

      private void trace(String str)