public class AllExceptContentTypeHeaderFilter extends AbstractHttpRequestMatchingFilter
HttpRequestMatchingFilter that will remove all http headers except Content-Type from original and other http
request.| Constructor and Description |
|---|
AllExceptContentTypeHeaderFilter() |
| Modifier and Type | Method and Description |
|---|---|
HttpRequestMatchingContext |
filter(HttpRequestMatchingContext context)
Filter/transform input http requests and response if needed.
|
next, setNextpublic HttpRequestMatchingContext filter(HttpRequestMatchingContext context)
context - Input context. Contains either original request, non matching other request and original response OR
context modified by HttpRequestMatchingFilter earlier in the chain.Copyright © 2014. All Rights Reserved.