public static class HttpComponentsMessageSender.RemoveSoapHeadersInterceptor extends Object implements HttpRequestInterceptor
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.| Constructor and Description |
|---|
RemoveSoapHeadersInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(HttpRequest request,
HttpContext context) |
public void process(HttpRequest request, HttpContext context) throws HttpException, IOException
process in interface HttpRequestInterceptorHttpExceptionIOException