Interface ServiceHeaderCustomizer
-
- All Known Implementing Classes:
ServiceHeaderCustomizerAuthForward,ServiceHeaderCustomizerBasicAuth,ServiceHeaderCustomizerCorrelationId,ServiceHeaderCustomizerOAuth
public interface ServiceHeaderCustomizerThis interface may be implemented tocustomize the headers. When aservice clientis invoked these headers are applied to the underlying protocol when a remote invocation is triggered via the network. Multiple implementations of this interface may exist as spring beans for different aspects (e.g. passing a JWT/OAuth security token for authentication, passingcorrelation ID, etc.).- Since:
- 3.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddHeaders(ServiceHeaderContext<?> context)
-
-
-
Method Detail
-
addHeaders
void addHeaders(ServiceHeaderContext<?> context)
- Parameters:
context- theServiceHeaderContextthat may be used totweak headers.
-
-