Packages

o

bloop.util

ProxySetup

object ProxySetup

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProxySetup
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Proxy extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def init(): Unit

    Forces the initialization of environment variables, called in Server.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. def updateProxySettings(environment: Map[String, String], logger: Logger): Unit

    Update proxy settings per client environment variables.

    Update proxy settings per client environment variables.

    A bloop client can change its environment variables to modify the proxy settings globally in the bloop server. However, there is no mechanism to clean proxy settings. Users that want to do so must shut down the server and start it again. This policy is taken to avoid bad interactions with clients that run on different environments where proxy settings are not set (e.g. inside editors like emacs/vscode).

    The update process affects all the current bloop clients. Unfortunately, there is no way to mitigate this behavior because ivy/coursier/etc do not expose interfaces to configure the proxy settings directly. If users define different proxy settings in different clients, bloop will have an undefined behavior. Note that users are entitled to have a mix of clients with no proxy settings and with the same proxy settings, in which case bloop will consistently use the proxy settings set by one of the configured clients.

    Whenever remote compilation is added, the handling of environment variables must be disabled as it's unsafe (it's the only scenario where it's legit to have different proxy settings).

    Ref https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html

    environment

    The environment of the bloop client.

    logger

    A logger where we give feedback to the user.

  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  22. object Proxy

Inherited from AnyRef

Inherited from Any

Ungrouped