Commit Graph

6614 Commits

Author SHA1 Message Date
Mark Pollack
fe581c9247 update poms to remove the ability to build SI, only package up maven central artifacts 2009-03-25 21:06:58 +00:00
Mark Fisher
75b211884c INT-618 2009-03-25 12:36:09 +00:00
Mark Fisher
c8a3ee7058 minor updates 2009-03-25 12:33:53 +00:00
Iwein Fuld
52d7737aeb INT-590 some last minute polishings 2009-03-25 09:55:50 +00:00
Jonas Partner
dd78f1de0a docs for http
INT-590
2009-03-24 14:27:22 +00:00
Iwein Fuld
157124882b 2009-03-24 11:56:10 +00:00
Iwein Fuld
202d5817e3 added test for utf-8 encoded request 2009-03-24 11:55:05 +00:00
Iwein Fuld
c756aff3af Filled out tests, added matchers to TestUtils 2009-03-24 10:36:28 +00:00
Iwein Fuld
7b32947f4e minor improvements 2009-03-23 18:37:36 +00:00
Iwein Fuld
51142a0cd9 Hammered out some compiler warnings 2009-03-23 16:14:05 +00:00
Mark Fisher
6bd4daf632 Provided stub test for http inbound-gateway. 2009-03-21 13:54:46 +00:00
Mark Fisher
901589bdd5 Added namespace support for http outbound-gateway (INT-616). 2009-03-21 13:53:47 +00:00
Mark Pollack
d206a84e68 updated maven central poms, added parent pom.
Generated from ivy.xml -> pom.xml using makepom ant task.  (this is the pom for the S2 bundle repo)
The convert pom.xml using mvn org.springframework.build.repository:org.springframework.build.repository.maven:create-central (this is the pom for maven central repo)
2009-03-21 02:09:26 +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
064f6694f6 Resolved INT-613 2009-03-19 22:17:54 +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
a75cddfa14 InboundMessageMapper and OutboundMessageMapper strategy methods can now throw any Exception. 2009-03-19 17:48:12 +00:00
Mark Fisher
7bed90ccce INT-539 2009-03-15 22:02:19 +00:00
Mark Fisher
e16f0f0eae made inner test class public 2009-03-15 19:48:40 +00:00
Mark Fisher
2a41bf7b9e removed empty package 2009-03-15 19:40:41 +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
Iwein Fuld
5ddb2152a0 Reordering in javadoc 2009-03-14 18:37:32 +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
80bfef3b5e Added tests for ServletRequestBindingTransformer. 2009-03-14 16:42:44 +00:00
Mark Fisher
bedc76b86f INT-607 2009-03-14 00:56:26 +00:00
Mark Fisher
773c677394 Added tests for the "inbound-channel-adapter" element in the "http" namespace. 2009-03-13 21:52:53 +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
7bdc389ec2 Updated version on title page 2009-03-13 19:09:41 +00:00
Mark Fisher
96d826e4a2 INT-605 2009-03-13 18:41:52 +00:00
Iwein Fuld
12bb0a65a6 INT-567 except callouts 2009-03-13 16:38:12 +00:00
Iwein Fuld
80e9a7b20f INT-563 except callouts 2009-03-13 16:34:48 +00:00
Iwein Fuld
229ffc0489 OPEN - issue INT-601: Typo in MarshallingWebServiceInboundGateway.setReplyChannel()
http://jira.springframework.org/browse/INT-601

fixed
2009-03-13 14:28:30 +00:00
Marius Bogoevici
79b3ebb171 Fixing some consistency issues in the behaviour of the Resequencer 2009-03-13 06:51:35 +00:00
Marius Bogoevici
f0385a776f INT-602 Resequencer returning spurious messages. Added get/setAttributes to MessageBarrier so that information can be held by it as part of its state. 2009-03-13 06:03:47 +00:00
Iwein Fuld
fc112ff51c resolved INT-600 2009-03-12 19:33:18 +00:00
Mark Fisher
efd3f5848e INT-599 2009-03-12 16:35:09 +00:00
Iwein Fuld
02d49417e4 added MessageHandlingException to javadoc 2009-03-12 16:34:09 +00:00