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
|
e16f0f0eae
|
made inner test class public
|
2009-03-15 19:48:40 +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
|
80bfef3b5e
|
Added tests for ServletRequestBindingTransformer.
|
2009-03-14 16:42:44 +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
|
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 |
|
Jonas Partner
|
a838f3d5f0
|
synchronised dependencies from ivy.xml to Maven central poms for 1.0.2
|
2009-02-23 19:48:25 +00:00 |
|
Jonas Partner
|
bcbded1216
|
update version for repo1 pom's to 1.0.2.RELEASE
|
2009-02-21 19:18:40 +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 |
|
Mark Fisher
|
270b857270
|
Added module for HTTP support
|
2009-01-30 20:47:13 +00:00 |
|