helpermethod
01/11/2018, 10:05 AMserviceProxy {
path("/api")
target(host = "localhost", port = 8080)
}
The serviceProxy
fun has a sole parameter which is a lambda with receiver. Is there some way to annotate the code so that the method is callable like this from Java
serviceProxy(s -> s
.path("/api")
.target("localhost", 8080)
)