- All Implemented Interfaces:
- org.apache.http.HttpRequestInterceptor
- Enclosing class:
- HttpComponentsMessageSender
public static class HttpComponentsMessageSender.RemoveSoapHeadersInterceptor
extends Object
implements org.apache.http.HttpRequestInterceptor
HttpClient HttpRequestInterceptor
implementation that removes Content-Length
and
Transfer-Encoding
headers from the request. Necessary, because some SAAJ and other SOAP implementations set these
headers themselves, and HttpClient throws an exception if they have been set.