open class ServiceProxyBuilder
A builder for Service Proxies which state can be reused during the builder lifecycle.
Author
Paulo Lopes
ServiceProxyBuilder(vertx: Vertx)
Creates a builder. |
open fun <T : Any> build(clazz: Class<T>): T
Creates a proxy to a service on the event bus. |
|
open fun setAddress(address: String): ServiceProxyBuilder
Set the address to use on the subsequent proxy creations or service registrations. |
|
open fun setOptions(options: DeliveryOptions): ServiceProxyBuilder
Set delivery options to be used during a proxy call. |
|
open fun setToken(token: String): ServiceProxyBuilder
Set a JWT token to be used on proxy calls. |