From da1b635d992f74d0710447266650d2edde82b4ec Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Fri, 14 Apr 2017 18:42:23 -0400 Subject: [PATCH] Fix Javadoc for HttpHeaderMapper --- .../http/support/DefaultHttpHeaderMapper.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/spring-integration-http/src/main/java/org/springframework/integration/http/support/DefaultHttpHeaderMapper.java b/spring-integration-http/src/main/java/org/springframework/integration/http/support/DefaultHttpHeaderMapper.java index d2abf20dcd..d6ea869c59 100644 --- a/spring-integration-http/src/main/java/org/springframework/integration/http/support/DefaultHttpHeaderMapper.java +++ b/spring-integration-http/src/main/java/org/springframework/integration/http/support/DefaultHttpHeaderMapper.java @@ -335,12 +335,14 @@ public class DefaultHttpHeaderMapper implements HeaderMapper, BeanF } /** - * Provide the header names that should be mapped from an HTTP request (for inbound adapters) - * or HTTP response (for outbound adapters) to a Spring Integration Message's headers. - * The values can also contain simple wildcard patterns (e.g. "foo*" or "*foo") to be matched. - *

This will match the header name directly or, for non-standard HTTP headers, it will match - * the header name prefixed with the value specified by - * {@link DefaultHttpHeaderMapper#setUserDefinedHeaderPrefix(String)}. The default is 'X-'. + * Provide the header names that should be mapped from an HTTP request (for inbound + * adapters) or HTTP response (for outbound adapters) to a Spring Integration + * Message's headers. The values can also contain simple wildcard patterns (e.g. + * "foo*" or "*foo") to be matched. + *

This will match the header name directly or, for non-standard HTTP headers, it + * will match the header name prefixed with the value specified by + * {@link DefaultHttpHeaderMapper#setUserDefinedHeaderPrefix(String)}. The default for + * that is an empty String. * @param inboundHeaderNames The inbound header names. */ public void setInboundHeaderNames(String[] inboundHeaderNames) { //NOSONAR - false positive @@ -383,7 +385,7 @@ public class DefaultHttpHeaderMapper implements HeaderMapper, BeanF } /** - * Sets the prefix to use with user-defined (non-standard) headers. Default is an + * Sets the prefix to use with user-defined (non-standard) headers. The default is an * empty string. * @param userDefinedHeaderPrefix The user defined header prefix. */