Package io.quarkus.rest.client.reactive
Class VertxRequestClientHeadersFactory
java.lang.Object
io.quarkus.rest.client.reactive.VertxRequestClientHeadersFactory
- All Implemented Interfaces:
org.eclipse.microprofile.rest.client.ext.ClientHeadersFactory
@Provider
public class VertxRequestClientHeadersFactory
extends Object
implements org.eclipse.microprofile.rest.client.ext.ClientHeadersFactory
A
ClientHeadersFactory implementation that propagates HTTP headers from the incoming request
to outgoing REST client requests.
This factory reads the
org.eclipse.microprofile.rest.client.propagateHeaders configuration property to determine
which headers should be propagated from the incoming HTTP request to the REST client calls.
The propagated headers are extracted from the HttpServerRequest and added to the outgoing
request headers of the REST client.
-
Constructor Summary
ConstructorsConstructorDescriptionVertxRequestClientHeadersFactory(io.vertx.core.http.HttpServerRequest httpServerRequest) -
Method Summary
-
Constructor Details
-
VertxRequestClientHeadersFactory
public VertxRequestClientHeadersFactory(io.vertx.core.http.HttpServerRequest httpServerRequest)
-
-
Method Details