Package org.springframework.integration.http.support

Examples of org.springframework.integration.http.support.DefaultHttpHeaderMapper


              mth.setChannelResolver(channelResolver);
              mth.setOutputChannel(outputChannel);
              mth.setRequiresReply(false);
              signChannel.subscribe(mth);

              DefaultHttpHeaderMapper hm = new DefaultHttpHeaderMapper();
              hm.setUserDefinedHeaderPrefix("");
              String[] names = {"Accept", "x-url", "x-signature", "x-user"};
              hm.setBeanFactory(context.getBeanFactory());
              hm.setOutboundHeaderNames(names);
              hm.setInboundHeaderNames(names);

              HttpRequestExecutingMessageHandler statusNotifier = new HttpRequestExecutingMessageHandler(uri);
              statusNotifier.setBeanName(platformType + "StatusNotifier");
              statusNotifier.setBeanFactory(context.getBeanFactory());
              statusNotifier.setChannelResolver(channelResolver);
View Full Code Here

TOP

Related Classes of org.springframework.integration.http.support.DefaultHttpHeaderMapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.