Commit Graph

47 Commits

Author SHA1 Message Date
Mark Fisher
8b1ec5b2e2 INT-1044 added support for form data Maps in HTTP POST requests 2010-04-15 19:13:28 +00:00
Mark Fisher
baae9e1f36 INT-1057 fixed HttpHeaders prefix for consistency 2010-04-01 18:03:48 +00:00
Mark Fisher
095f31d61c added a TODO to remove the Serializable implementation once we upgrade to 3.0.1 2010-01-26 17:33:31 +00:00
Mark Fisher
8550cc67b0 INT-963 DefaultInboundRequestMapper now returns a MultiValueMap when creating a payload from HTTP request parameters. That means that values in the Map are now Lists of Strings rather than String arrays. 2010-01-25 03:01:11 +00:00
Mark Fisher
6b2ad819b5 INT-856 2009-12-22 19:23:24 +00:00
Mark Fisher
ac0c848aeb formatting (same as the 1.0.x change) 2009-12-10 00:37:27 +00:00
Oleg Zhurakousky
980cd41975 INT-913, Modified logic in createPayloadFromTextContent(..) to get Payload from the Request body 2009-12-09 18:11:25 +00:00
Mark Fisher
4a13e38fde INT-901 removed ReplyMessageHolder and refactored AbstractReplyProducingMessageHandler accordingly 2009-12-02 02:37:51 +00:00
Mark Fisher
6f82886c35 committing spring.tooling files and icons 2009-11-25 21:50:11 +00:00
Mark Fisher
741aff1393 INT-749 initial commit of file upload support 2009-10-02 22:24:09 +00:00
Mark Fisher
c9e48b81d1 added ready() check to support empty string 2009-09-30 21:29:26 +00:00
Mark Fisher
e7e18fbbb0 INT-808 DefaultInboundRequestMapper no longer removes newlines. 2009-09-30 21:05:51 +00:00
Mark Fisher
29b182e5be created 2.0 version of XSD 2009-08-14 21:43:57 +00:00
Mark Fisher
fdfb537a16 INT-727, INT-728 Refactored parsers so that default beans (errorChannel, nullChannel, and taskScheduler) will always be configured - even when not using the core namespace. Also added support for the 'auto-startup' attribute on several adapters. 2009-07-16 18:04:40 +00:00
Mark Fisher
387ab9965c Added support for 'order' and 'auto-startup' on HTTP 'outbound-gateway'. 2009-07-03 04:19:28 +00:00
Mark Fisher
098693ad2e INT-695 Moved all schemas to src/main/resources 2009-06-30 18:48:40 +00:00
Mark Fisher
6360cacb1f INT-668, INT-673 2009-06-18 01:13:38 +00:00
Mark Fisher
901589bdd5 Added namespace support for http outbound-gateway (INT-616). 2009-03-21 13:53:47 +00:00
Mark Fisher
72e57cab55 DefaultOutboundRequestMapper now has an 'extractPayload' boolean flag. It is 'true' by default, but when set to 'false' the Message itself will be serialized and sent as the request body. Also, the default URL is now optional. 2009-03-21 00:16:11 +00:00
Mark Fisher
980488b0c0 HttpOutboundEndpoint now returns reply payload types based on the response's content-type header. A value of "application/x-java-serialized-object" will trigger deserialization to some Object, a value that begins with "text" will be mapped to a String, and everything else will currently return a byte array. 2009-03-20 20:51:21 +00:00
Mark Fisher
a8408dd216 Setting content type and length headers on responses. 2009-03-20 19:34:48 +00:00
Mark Fisher
9121e6d918 Added HttpResponse abstraction to encapsulate response body and headers. 2009-03-20 18:19:17 +00:00
Mark Fisher
735125a0a3 Setting Content-Type for byte array. 2009-03-20 17:06:37 +00:00
Mark Fisher
c90db4b078 DefaultOutboundRequestMapper now first checks for the Message header for the key: HttpHeaders.REQUEST_URL. If present, that URL will be used as the target. Otherwise, it will fallback to the default URL of the mapper instance (as passed to the constructor). Now, the request method is also determined by a header if available: HttpHeaders.REQUEST_METHOD. If that is not available, the default type is "POST". There is no longer any automatic mapping based on the content type of the Message payload. However, for a "PUT" or "POST" request, the payload must be a byte array, String, or Serializable instance. Other request types require a Map payload with String-typed keys and values. The Map may be empty, but if it is not the map's values will be appended to the URL in the form of a query string. 2009-03-20 15:29:33 +00:00
Mark Fisher
36889371f9 Added CommonsHttpRequestExecutor (INT-614). 2009-03-20 04:34:27 +00:00
Mark Fisher
9e8ec79f2b checking last char of StringBuilder not the original URL String 2009-03-20 04:09:18 +00:00
Mark Fisher
5b45423566 Map typed payloads with String keys and values now map to GET requests by default. 2009-03-20 03:29:46 +00:00
Mark Fisher
1a0fa63616 Provided setters for 'requestMapper' and 'requestExecutor' on HttpOutboundEndpoint. 2009-03-19 23:39:01 +00:00
Mark Fisher
788124ad9d Changed expected-type in XSD from RequestMapper to InboundRequestMapper to match the recent refactoring. 2009-03-19 22:44:32 +00:00
Mark Fisher
703e883a02 Refactored outbound HTTP support to include HttpRequest and HttpRequestExecutor (formerly HttpExchanger). Also refactored existing RequestMapper to InboundRequestMapper, and added OutboundRequestMapper. 2009-03-19 18:55:11 +00:00
Mark Fisher
7f202eefca Removed ServletRequestBindingTransformer (INT-609). 2009-03-15 19:38:56 +00:00
Mark Fisher
b0f8dedf12 Factored out RequestMapper strategy (INT-609). 2009-03-15 19:28:13 +00:00
Iwein Fuld
4e62f25364 IN PROGRESS - issue INT-470: Add a general HTTP outbound handler
http://jira.springframework.org/browse/INT-470

Split out all java.net specific code to strategy.
2009-03-15 14:31:12 +00:00
Mark Fisher
bc9b3ee747 INT-470: Committing first cut of outbound HTTP adapter (most logic needs to be refactored out to an executor strategy). 2009-03-14 18:36:33 +00:00
Mark Fisher
5c373aad52 INT-594 Added namespace support for HTTP inbound-channel-adapter and inbound-gateway 2009-03-13 21:49:09 +00:00
Mark Fisher
e25407e469 HttpInboundEndpoint now deserializes objects if request content-type is "application/x-java-serialized-object". 2009-03-13 21:16:35 +00:00
Mark Fisher
5bcbc6a896 Committed tests for HttpInboundEndpoint. 2009-03-11 19:44:43 +00:00
Mark Fisher
7591406f2e Renamed 'prototypeBeanName' to 'targetBeanName' and added eager validation of its non-singleton scope. 2009-02-28 16:37:02 +00:00
Mark Fisher
a2112418f4 Added support for a WebBindingInitializer strategy. 2009-02-27 18:24:52 +00:00
Mark Fisher
188d473d28 Initial commit of the ServletRequestBindingTransformer. 2009-02-27 17:54:02 +00:00
Mark Fisher
dfade35f7a Throwing a MessageTimeoutException if the request/reply Message handling times out. 2009-02-27 15:05:54 +00:00
Mark Fisher
f9f4832582 Added configurable 'requestKey' and 'replyKey' for the model map when response rendering is handled by a provided View instance. 2009-02-26 21:29:10 +00:00
Mark Fisher
f687c6b9ac Added javadoc. 2009-02-26 19:53:57 +00:00
Mark Fisher
64188597e2 Setting Content-Type for serialized Objects. 2009-02-20 21:38:58 +00:00
Mark Fisher
7bbb97b71a Refactored HttpInboundGateway into HttpInboundEndpoint. It provides the implementation for both 'channel-adapter' and 'inbound-gateway' - depeding on the value of its 'expectReply' boolean flag (INT-470). 2009-02-20 20:21:55 +00:00
Mark Fisher
809790f068 Determining payload type to extract based on request method and content type. 2009-02-20 04:36:57 +00:00
Mark Fisher
ddb6dece6e Initial commit for HttpInboundGateway (INT-470). 2009-01-30 22:33:50 +00:00