Commit Graph

42 Commits

Author SHA1 Message Date
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
Mark Fisher
2d9de6c79d SerializingHttpMessageConverter does not support byte[] or String (but does support anything else assignable to Serializable) 2010-07-24 19:49:14 +00:00
Mark Fisher
2e88f4647e generating a Map payload from request parameters for requests that do not contain a body 2010-07-24 00:59:51 +00:00
Mark Fisher
e11a29f65f INT-1256 initial commit of new (experimental) inbound HTTP adapter 2010-07-22 21:51:59 +00:00
David Syer
d3817cf123 INT-1232: renamed ParameterExtractor 2010-07-15 14:39:19 +00:00
David Syer
8311a10975 INT-1232: added ParameterMapper 2010-07-15 14:35:04 +00:00
Mark Fisher
5d154e11d7 removed System.out print statement accidentally left in from dev/debug 2010-07-01 02:52:18 +00:00
Mark Fisher
54e7e2de4c the DefaultOutboundRequestMapper uses POST as the default http-method now... any changes in the adapter (via setter) will propagate 2010-06-25 14:11:28 +00:00
Mark Fisher
e03c21a8b8 INT-1218 expectedResponseType is now null by default, meaning that successful status codes will be the default payloads 2010-06-25 13:03:49 +00:00
Mark Fisher
9c56ff320d INT-1215 added support for 'expect-response-type' attribute for outbound http adapters 2010-06-25 06:00:05 +00:00
Mark Fisher
54133e4415 added assertion for URI passed into constructor 2010-06-25 05:15:10 +00:00
Mark Fisher
69cb492b78 INT-1055 all non-Spring Integration headers that contain String-typed values will be mapped into HttpHeaders (a more fine-grained strategy-driven approach is coming in M6: INT-1214) 2010-06-25 04:06:02 +00:00
Mark Fisher
c86e24cd34 INT-1212 added support for the "message-converters" (a ref to a list) attribute on <outbound-gateway> and <outbound-channel-adapter> elements in the http namespace 2010-06-25 00:19:50 +00:00
Mark Fisher
d3fde86be3 INT-1207 added support for the "http-method" attribute on <outbound-gateway> and <outbound-channel-adapter> elements in the http namespace 2010-06-24 23:03:50 +00:00
Mark Fisher
5f72f5768d INT-1208 2010-06-24 22:52:58 +00:00
Mark Fisher
1363b2699e INT-1206 the "url" attribute is now required on http:outbound-gateway 2010-06-24 22:21:33 +00:00
Mark Fisher
ceaf659c8f INT-831, INT-861 added support for the <outbound-channel-adapter> element in the http namespace 2010-06-24 19:58:26 +00:00
Mark Fisher
c022a8d559 INT-831, INT-861 added 'expectReply' property to HttpRequestExecutingMessageHandler (default is true) 2010-06-24 19:16:52 +00:00
Mark Fisher
69d19fdf8c INT-916 removed code that is no longer necessary after refactoring to HttpRequestExecutingMessageHandler 2010-06-23 23:55:07 +00:00
Mark Fisher
341a08f7ff INT-916, INT-939 replaced HttpOutboundEndpoint with the RestTemplate-based HttpRequestExecutingMessageHandler 2010-06-23 20:19:59 +00:00
Mark Fisher
9d0080d33a added SerializingHttpMessageConverter 2010-06-23 16:40:45 +00:00
Chris Beams
5563c0b5af adding missing src/(test|main)/resources directories with .svnignore files to avoid empty-dir-pruning by svn 2010-05-26 14:27:42 +00:00
Chris Beams
e5219dfe8f eliminated all compiler warnings throughout all projects
updated pom to emit compiler warnings so that any new ones become obvious
added serialVersionUID to classes that could reasonably need to be serialized (GenericMessage, MessageHeaders, etc)
@SuppressWarnings("serial") on all others
@SuppressWarnings("unused") on private static classes used as spring beans for testing (their methods never get called from java)
eliminated all redundant casting
introducted generics metadata where raw types were still being used
changed public API on several FactoryBeans (by adding <Type> information to 'implements FactoryBean' clause)
2010-05-25 23:18:25 +00:00
Chris Beams
c08a7a657e renamed modules org.springframework.integration.* -> spring-integration-*
@Ignore'd SimpleTcpNetOutboundGatewayTests#testOutboundClose() to avoid failure; this failure is correlated to the module name change, but hard to understand how it would be caused by it
2010-05-25 13:21:25 +00:00