Interface ServiceHeaderCustomizer
-
- All Known Implementing Classes:
ServiceHeaderCustomizerAuthForward
,ServiceHeaderCustomizerBasicAuth
,ServiceHeaderCustomizerCorrelationId
,ServiceHeaderCustomizerOAuth
public interface ServiceHeaderCustomizer
This interface may be implemented tocustomize the headers
. When aservice client
is 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 void
addHeaders(ServiceHeaderContext<?> context)
-
-
-
Method Detail
-
addHeaders
void addHeaders(ServiceHeaderContext<?> context)
- Parameters:
context
- theServiceHeaderContext
that may be used totweak headers
.
-
-