Last active
July 6, 2016 04:09
-
-
Save isterin/86175d8803357a41d4e0fcd85b212618 to your computer and use it in GitHub Desktop.
Scala automatic wrapper/delegation with implicits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ProxiedHttpRequest(val req:HttpRequest) { | |
lazy val proxyServer = InetAddress.getByName(“some.proxy.com”) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment