This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
Echo Soap Request Header in Soap Response?Page Title Module
An endpoint interceptor seems to be appropriate to implement the logic you're describing.
EndpointInterceptorAdapter is just a convenient class that provides an empty implementation of EndpointInterceptor. If you sublass EndpointInterceptorAdapter, you don't have implement the methods you don't use.
Be aware though of thread saftey issues if you decide to store the request headers in instance fields of your interceptor.