Commit Graph

73 Commits

Author SHA1 Message Date
Mark Fisher
2f5dc0c202 INT-1306 renamed AbstractMessagingGateway to MessagingGatewaySupport 2010-09-03 04:02:49 +00:00
David Syer
754b9a198d INT-1347: add convertExceptions to request handler and error-key/code to controller 2010-09-01 17:23:23 +00:00
Mark Fisher
3b15a0dd38 INT-1390 moved MessageBuilder into the 'support' package, moved GenericMessage and ErrorMessage into the 'message' package 2010-08-31 02:51:27 +00:00
Mark Fisher
7c1ab04cd5 INT-1390 Refactoring: moved MessageChannel to the root package, and moved ChannelResolver and BeanFactoryChannelResolver into a new 'suport.channel' package 2010-08-31 01:53:45 +00:00
Mark Fisher
b6aa9edbd7 INT-1350, INT-1356 added namespace support for 'mapped-request-headers' on the HTTP <outbound-gateway> and <outbound-channel-adapter> elements as well as 'mapped-response-headers' on the the <outbound-gateway> 2010-08-17 23:47:35 +00:00
Jeremy Grelle
933c8e42f0 Making the inbound/outbound header mapping strategy symmetrical. 2010-08-17 16:37:33 +00:00
Mark Fisher
57d5e5c400 INT-1350 Now checking if the prefix "X-" is already in place before adding it. 2010-08-17 01:00:01 +00:00
Mark Fisher
75a925bced INT-1350 DefaultHttpHeaderMaper now has 'outboundHeaderNames' and 'inboundHeaderNames'. Both are empty by default. The outbound headers will be prefixed with "X-". 2010-08-16 23:33:27 +00:00
Mark Fisher
86f69e08bb moved the DefaultOutboundRequestMapper code into the HttpRequestExecutingMessageHandler since we no longer expose the OutboundRequestMapper as a configurable strategy 2010-08-16 23:00:32 +00:00
Mark Fisher
2955ef989e INT-1349 Added support for <uri-variable name="x" expression="y"/> sub-elements within the HTTP outbound adapters. Map payloads no longer provide values for the URI template placeholder replacements. 2010-08-16 20:43:30 +00:00
Mark Fisher
de82ec9eaf INT-1307 using charset.name() instead of charset itself in String constructor for Java 5 compatibility 2010-08-02 03:11:45 +00:00
Mark Fisher
2e0f4e42d4 adjusted package for 'expected-type' in XSD tooling 2010-07-28 15:58:35 +00:00
Mark Fisher
6257853512 INT-1129 renamed 'message' package to 'mapping' since that is all that remains there 2010-07-28 15:25:33 +00:00
Mark Fisher
80a22b8a2c INT-1129 moved most of the MessagingException hierarchy to the root package (org.springframework.integration) 2010-07-28 15:10:42 +00:00
Mark Fisher
4de9a23357 INT-1129 moved Message and MessageHeaders from 'core' to the root (org.springframework.integration) 2010-07-28 15:05:50 +00:00
Mark Fisher
7434976734 INT-1129 moved MessageRejectedException and MessageHandlingException from 'message' to 'core' 2010-07-28 14:57:35 +00:00
Mark Fisher
94938a2746 INT-1129 moved MessageHandler from 'message' to 'core' 2010-07-28 14:54:09 +00:00
Mark Fisher
0b751cc18a INT-1129 moved SubscribableChannel from 'channel' to 'core' 2010-07-28 14:51:18 +00:00
Mark Fisher
4283315c08 INT-1129 moved PollableChannel from 'channel' to 'core' 2010-07-28 14:47:55 +00:00
Mark Fisher
008cac18f5 INT-1129 moved GenericMessage, ErrorMessage, and MessageDeliveryException from 'message' to 'core' 2010-07-28 14:42:02 +00:00
Mark Fisher
00d3e351f7 INT-1129 moved MessageBuilder from 'message' to 'core' 2010-07-28 14:38:36 +00:00
Mark Fisher
9e7c6574f9 javadoc update 2010-07-28 01:05:57 +00:00
Mark Fisher
e1f671beb9 INT-1129 fixed reflective access of messagingTemplate in tests 2010-07-27 14:57:04 +00:00
Mark Fisher
f022271db5 INT-1214 The 'header-mapper' attribute is now available for the http outbound-gateway and outbound-channel-adapter 2010-07-27 05:03:17 +00:00
Mark Fisher
b759d827fa INT-1245, INT-1256 tests for HttpRequestHandlingController 2010-07-27 04:54:52 +00:00
Mark Fisher
32adc1fb8b INT-1245, INT-1256 test for HttpRequestHandlingMessagingGateway 2010-07-27 04:36:18 +00:00
Mark Fisher
2f746dd6bb INT-1245, INT-1256 renamed conversionTargetType to requestPayloadType and added javadoc 2010-07-27 04:35:40 +00:00
Mark Fisher
619430ed5c INT-1245, INT-1256 javadoc 2010-07-27 04:33:58 +00:00
Mark Fisher
bc56173725 INT-1245, INT-1256 removed old HttpInboundEndpoint 2010-07-27 04:31:07 +00:00
Mark Fisher
9273d2243d INT-1245, INT-1256 moved namespace support from old HttpInboundEndpoint to new HttpRequestHandlingMessagingGateway or, if the 'view-name' is present, HttpRequestHandlingController 2010-07-27 03:16:17 +00:00
Mark Fisher
d5ef6c9df5 INT-1245, INT-1256 added setSupportedMethodNames() method and now the conversionTargetType is null by default with "text/*" Content-Type mapping to String as a default and byte[] otherwise (if conversionTargetType has not been set explicitly) 2010-07-27 03:11:41 +00:00
Mark Fisher
d0d780c577 INT-1245, INT-1256 SerializingHttpMessageConverter is restricted to only the application/x-java-serialized-object media type 2010-07-27 03:02:38 +00:00
Mark Fisher
02766517ff extended MockHttpServletRequest and MockHttpServletResponse so that the "Content-Type" header is set in a way that it can be read from the ServletServerHttpRequest and ServletServerHttpResponse instances 2010-07-27 02:20:22 +00:00
Gary Russell
787b76f480 Re-Fix badly formed javadoc in HttpRequestHandlingController (causing build to fail). Previous fix removed bogus ) and solved the build problem but doc was still not good. 2010-07-27 01:57:12 +00:00
Gary Russell
a27b1862ac Fix badly formed javadoc in HttpRequestHandlingController (causing build to fail) 2010-07-27 01:51:08 +00:00
Mark Fisher
e7baca7797 removed unused class 2010-07-26 23:41:17 +00:00
Mark Fisher
c0718ab747 INT-1245, INT-1256 post-processing request in finally block 2010-07-26 22:42:32 +00:00
Mark Fisher
19b1ab5fd6 INT-1245, INT-1256 shifting balance between sub-classes and base 2010-07-26 22:38:24 +00:00
Mark Fisher
ef25896a9a INT-1245, INT-1256 factored out common request-handling code to a base support class so that we can provide both MVC Controller and simple HttpRequestHandler implementations that rely on the common functionality in the base class 2010-07-26 21:28:28 +00:00
Mark Fisher
eb640e571a INT-1261 "http" is now included in componentType name 2010-07-26 18:32:04 +00:00
Mark Fisher
d3a85c6b02 INT-1214 HttpRequestHandlingMessagingGateway now uses DefaultHttpHeaderMapper by default but exposes a setter for other implementations of HeaderMapper<HttpHeaders> 2010-07-26 18:17:43 +00:00
Mark Fisher
53ddea4b63 INT-1214 HttpRequestExecutingMessageHandler now uses DefaultHttpHeaderMapper by default but exposes a setter for other implementations of HeaderMapper<HttpHeaders> 2010-07-26 18:16:50 +00:00
Mark Fisher
4d28aefacb INT-1214 added DefaultHttpHeaderMapper 2010-07-26 18:15:02 +00:00
Mark Fisher
a7b107cc21 INT-1256, INT-822, INT-823 MultipartAwareFormHttpMessageConverter now relies on the MultipartFileReader strategy 2010-07-26 00:35:35 +00:00
Mark Fisher
184db41bbc INT-1256, INT-822, INT-823 added MultipartFileReader strategy interface and some implementations 2010-07-25 23:28:29 +00:00
Mark Fisher
d7c083128d INT-1256, INT-822, INT-823 moved multipart/form-data reading logic into a separate HttpMessageConverter implementation (MultipartAwareFormHttpMessageConverter) 2010-07-25 17:28:12 +00:00
Mark Fisher
c6b9f550ab INT-1256, INT-822, INT-823 added MultipartAwareFormHttpMessageConverter for reading multipart/form-data requests 2010-07-25 17:25:22 +00:00
Mark Fisher
4c711e86c6 INT-1256, INT-822, INT-823 added MultipartHttpInputMessage, a multipart-aware implementation of HttpInputMessage 2010-07-25 17:22:22 +00:00
Mark Fisher
234c780056 INT-1256, INT-822, INT-823 added 'supportedMethods' list (with only GET and POST by default), 'expectedType' is now 'conversionTargetType', the charset is now determined from a multipart's Content-Type header if available but still falls back to 'defaultMultipartCharset' (which was just 'multipartCharset'), the HttpMessageConverter list is now configurable. Also added javadoc. 2010-07-24 23:37:38 +00:00
Mark Fisher
c5527f17d9 INT-1256, INT-822, INT-823 working on multipart-form handling 2010-07-24 20:47:56 +00:00