org.springframework.ws.transport.http
Class HttpComponentsMessageSender.RemoveSoapHeadersInterceptor
java.lang.Object
org.springframework.ws.transport.http.HttpComponentsMessageSender.RemoveSoapHeadersInterceptor
- 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.
Method Summary |
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpComponentsMessageSender.RemoveSoapHeadersInterceptor
public HttpComponentsMessageSender.RemoveSoapHeadersInterceptor()
process
public void process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
IOException
- Specified by:
process
in interface org.apache.http.HttpRequestInterceptor
- Throws:
org.apache.http.HttpException
IOException
Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.