public interface RestClientListener
ServiceLoader
can find it - i.e. it must be specified in the
META-INF/services/org.eclipse.microprofile.rest.client.spi.RestClientListener
file in an archive on the current thread's context classloader's
class path - or specified in the module-info.java
.
Note that the onNewClient
method will be called when the
RestClientBuilder's build(Class<?> serviceInterface)
method is
called.Modifier and Type | Method and Description |
---|---|
void |
onNewClient(Class<?> serviceInterface,
RestClientBuilder builder) |
void onNewClient(Class<?> serviceInterface, RestClientBuilder builder)
Copyright © 2020 Eclipse Foundation. All rights reserved.