org.eclipse.microprofile.rest.client.propagateHeaders.
The value of this property should be a comma-separated list of HTTP header names. If the headers specified in the property exist in the inbound Jakarta RESTful Web Services request, this class will propagate those headers to the outbound Rest Client request.
Any headers present on clientOutgoingHeaders will not be returned when calling the
update method.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Logger | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Optional | |
| private static Optional | |
| public MultivaluedMap | update(MultivaluedMap<String, String>
- the map of headers from the inbound Jakarta RESTful Web Services request. This will be an empty map
if the associated client interface is not part of a Jakarta RESTful Web Services request. incomingHeaders, MultivaluedMap<String, String> - the read-only map of header parameters specified on the client interface. clientOutgoingHeaders)Implements org. Updates the HTTP headers to send to the remote service. |
| CLASS_NAME | back to summary |
|---|---|
| private static final String CLASS_NAME | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| PROPAGATE_PROPERTY | back to summary |
|---|---|
| public static final String PROPAGATE_PROPERTY | |
| DefaultClientHeadersFactoryImpl | back to summary |
|---|---|
| public DefaultClientHeadersFactoryImpl() | |
| config | back to summary |
|---|---|
| private static Optional | |
| getHeadersProperty | back to summary |
|---|---|
| private static Optional | |
| update | back to summary |
|---|---|
| public MultivaluedMap Implements org. Doc from org. Updates the HTTP headers to send to the remote service. Note that providers on the outbound processing chain could further update the headers.
| |