general poslihing in tests for FTP/SFTP and javadocs polishing in DefaultHttpHeaderMapper

This commit is contained in:
Oleg Zhurakousky
2011-01-17 15:07:57 -05:00
parent a0735fd67a
commit 893d749907
10 changed files with 23 additions and 7 deletions

View File

@@ -236,7 +236,8 @@ public class DefaultHttpHeaderMapper implements HeaderMapper<HttpHeaders> {
* or HTTP response (for inbound adapters) from a Spring Integration Message's headers.
* The values can also contain simple wildcard patterns (e.g. "foo*" or "*foo") to be matched.
* <p>
* 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<HttpHeaders> {
* The values can also contain simple wildcard patterns (e.g. "foo*" or "*foo") to be matched.
* <p>
* 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];