- * Any non-standard headers will be prefixed by {@value #USER_DEFINED_HEADER_PREFIX} if not already.
+ * Any non-standard headers will be prefixed with the value specified by
+ * {@value DefaultHttpHeaderMapper#setUserDefinedPrefix(String)}. The default is 'X-'.
*/
public void setOutboundHeaderNames(String[] outboundHeaderNames) {
this.outboundHeaderNames = (outboundHeaderNames != null) ? outboundHeaderNames : new String[0];
@@ -248,7 +249,8 @@ public class DefaultHttpHeaderMapper implements HeaderMapper
* This will match the header name directly or, for non-standard HTTP headers, it will match
- * the header name prefixed by {@value #USER_DEFINED_HEADER_PREFIX}.
+ * the header name prefixed with the value specified by
+ * {@value DefaultHttpHeaderMapper#setUserDefinedPrefix(String)}. The default is 'X-'.
*/
public void setInboundHeaderNames(String[] inboundHeaderNames) {
this.inboundHeaderNames = (inboundHeaderNames != null) ? inboundHeaderNames : new String[0];
diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context.xml
index d059794af8..d1c7abe358 100644
--- a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context.xml
+++ b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context.xml
@@ -42,7 +42,7 @@
remote-directory="/foo"
local-directory="file:local-test-dir"
auto-create-local-directory="false"
- remote-file-separator="/"
+ remote-file-separator="."
delete-remote-files="false">