Interface DevServicesRestClientProxyProvider
public interface DevServicesRestClientProxyProvider
Extensions that integrate with the REST Client can use this interface in order to provide their own proxy
when users have
quarkus.rest-client."full-class-name".enable-local-proxy" enabled, can implement
this interface and register it by producing DevServicesRestClientProxyProvider.BuildItem.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classBuild item used to register the provider with Quarkusstatic final record -
Method Summary
Modifier and TypeMethodDescriptioncreate(RestClientHttpProxyBuildItem buildItem) Called by Quarkus for each of the REST Clients that need to be proxiedname()Used by Quarkus to determine which provider to use when multiple providers exist.setup()Called once by Quarkus to allow the provider to initialize
-
Method Details
-
name
String name()Used by Quarkus to determine which provider to use when multiple providers exist. User control this if necessary by settingquarkus.rest-client."full-class-name".local-proxy-provider -
setup
Closeable setup()Called once by Quarkus to allow the provider to initialize -
create
Called by Quarkus for each of the REST Clients that need to be proxied
-