public class TelemetryHeaderFilter extends Object implements jakarta.ws.rs.client.ClientRequestFilter
| Constructor and Description |
|---|
TelemetryHeaderFilter(Configuration config)
Constructs a new TelemetryHeaderFilter with the specified configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
filter(jakarta.ws.rs.client.ClientRequestContext requestContext)
Filters the client request and adds the telemetry header.
|
public TelemetryHeaderFilter(Configuration config)
config - the Configuration object used to retrieve the telemetry headerpublic void filter(jakarta.ws.rs.client.ClientRequestContext requestContext)
throws IOException
filter in interface jakarta.ws.rs.client.ClientRequestFilterrequestContext - the request context to be modifiedIOException - if an error occurs while modifying the requestCopyright © 2025. All rights reserved.