Commit Graph
119 Commits
Author SHA1 Message Date
Juergen Hoeller 3f838b6b69 added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3398 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 23:18:34 +00:00
Arjen Poutsma 83f18530ca SPR-7211 - Extend HttpMessage interface to expose requestURL
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3348 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-18 11:12:54 +00:00
Juergen Hoeller 220d5a0e15 MockHttpServletResponse supports multiple includes (SPR-7188)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3324 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-12 14:07:25 +00:00
Juergen Hoeller 7300f287c4 added support for JAX-WS 2.1 WebServiceFeatures to JaxWsPortClientInterceptor/PortProxyFactoryBean (SPR-5712)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3321 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-12 12:32:03 +00:00
Arjen Poutsma ac9178ba55 SPR-7160 - ShallowEtagHeaderFilter not adding ETag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3306 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-03 08:58:20 +00:00
Arjen Poutsma b199e5b5d9 SPR-7135 - org.springframework.http.MediaType#checkParameters fails to process a Content-Type like application/xml;charset="utf-8"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3297 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-27 08:26:51 +00:00
Juergen Hoeller 33bbd4f5fd added check for WebSphere's compliance mode (SPR-7064)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3284 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-21 18:42:59 +00:00
Arjen Poutsma c0dd3a83fc SPR-7107 - RestTemplate/UriTemplate/UriUtils improperly encoding UTF-8
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3281 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-21 07:55:56 +00:00
Costin Leau 668a25efa3 + disable some of the WAS failing tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3280 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-21 07:38:54 +00:00
Costin Leau 96b0e2578c SPR-7064
+ fix method name


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3278 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 13:33:16 +00:00
Costin Leau 897a1c6470 SPR-7064
+ added unit tests for WAS with complaint setting

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3277 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 13:32:02 +00:00
Costin Leau 029ccf8f75 SPR-7064
+ unit tests containing the differences between WAS and Tomcat

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3276 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 12:12:57 +00:00
Arjen Poutsma eba93732a2 Added more tests.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3273 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-20 10:03:05 +00:00
Arjen Poutsma c287c1105d SPR-7107 - RestTemplate/UriTemplate/UriUtils improperly encoding UTF-8
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3269 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-19 08:28:10 +00:00
Arjen Poutsma b77698ec67 Introduced ResponseEntity, for access to the response status code
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3210 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 10:08:51 +00:00
Juergen Hoeller 2ec66b066b NativeWebRequest detects native MultipartRequest even when decorated (SPR-6594)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3189 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 10:24:39 +00:00
Arjen Poutsma 50a9c059a2 SPR-7000 - AnnotationMethodHandlerAdapter gives priority to media type order over quality when selecting a method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3174 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-25 12:29:52 +00:00
Arjen Poutsma 2b54824083 SPR-7002 - RestTemplate fails to convert properly for Generic Type Container with MappingJacksonHttpMessageConverter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3141 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 11:15:13 +00:00
Arjen Poutsma 17f97c1cf8 SPR-6976 - Add debug log for HttpMessageConverter usage
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3095 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 17:46:50 +00:00
Arjen Poutsma 2eef381793 SPR-6970 - AbstractHttpMessageConverter canWrite logic the wrong way round??
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3093 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 16:43:57 +00:00
Arjen Poutsma 012d0983d0 SPR-5866 - RestTemplate - access to Request Headers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3087 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-11 17:41:30 +00:00
Arjen Poutsma d20652e305 SPR-5866 - RestTemplate - access to Request Headers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3085 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-11 17:33:54 +00:00
Arjen Poutsma 8c55e20ea8 SPR-6969 - Introduce HttpEntity
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3083 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-11 16:42:25 +00:00
Arjen Poutsma 6a1a9e2e7d SPR-5904 - Merged multipart support into FormHttpMessageConverter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3078 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 17:31:02 +00:00
Arjen Poutsma cbfd48511d SPR-5904 - Multipart/mixed requests using RestTemplate
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3076 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 13:53:29 +00:00
Arjen Poutsma 2c2cfe4a33 Added readonly version of HttpHeaders
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3072 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-10 10:00:03 +00:00
Arjen Poutsma 2654d53fb9 SPR-5904 - Multipart/mixed requests using RestTemplate
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3070 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-09 16:15:41 +00:00
Arjen Poutsma bbc7724dd2 Atom Feed HttpMessageConverter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3061 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-05 14:32:36 +00:00
Arjen Poutsma d81da6645f SPR-6946 - RestTemplate should not encode fragments (#'s)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3060 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-05 11:40:52 +00:00
Arjen Poutsma b171dfc69f Fixed wrong encoding of URI templates with @-signs (SPR-6874)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3040 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-02 11:30:36 +00:00
Arjen Poutsma be90cf86ef SPR-6752 - RestTemplate throws IllegalArgumentException when HTTP status is not in the HttpStatus enum
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3006 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-18 11:15:17 +00:00
Juergen Hoeller 5f7fc7e1dd UriTemplate properly quotes variable values (SPR-6854)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2997 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-17 21:58:56 +00:00
Juergen Hoeller 9b1617ac0c relaxed generic Class declaration in HttpMessageConverter's canRead/canWrite/read signatures (SPR-6848)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2991 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-16 17:46:16 +00:00
Arjen Poutsma 5882930735 SPR-6788: fixed compareTo() consistency with equals
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2921 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 14:19:11 +00:00
Arjen Poutsma f04ef6a5f1 SPR-6788: fixed compareTo() consistency with equals
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2916 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:08:09 +00:00
Arjen Poutsma d8a338690b SPR-6786: added more checks for quality factors & charsets
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2912 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 09:47:52 +00:00
Arjen Poutsma 44ef392925 SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2906 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 14:02:44 +00:00
Arjen Poutsma d6019e11ec SPR-6786 - The method org.springframework.http.MediaType.parseMediaType does not always throw IllegalArgumentException as the documentantion claims
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2905 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 13:52:39 +00:00
Arjen Poutsma 1ba636771f SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2904 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 11:38:31 +00:00
Arjen Poutsma 5ce8251b09 SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2900 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-02 13:14:19 +00:00
Arjen Poutsma 95fc7c3268 SPR-6771 - HttpMessageConverter should accept Class<? extends T> on can read
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2871 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 09:23:34 +00:00
Arjen Poutsma 41bf231f96 SPR-6759 - Jetty 7 doesn't like ShallowEtagHeaderFilter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2868 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-27 13:02:02 +00:00
Arjen Poutsma c3ab0ef473 SPR-6686 - @ResponseBody throws HttpMediaTypeNotAcceptableException if client accepts "*/*"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2814 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-15 10:23:59 +00:00
Chris Beams 5900cd6daa Renamed tests for AnnotationConfig[Web]ApplicationContext; added tests for scan() and register() methods.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2604 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 15:29:27 +00:00
David Syer 4a7cb34bf0 SPR-5327: tidy up Maven dependencies (keeping commons-logging)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2549 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:57:11 +00:00
Arjen Poutsma 0c4011a472 Do not require bound classes or context for Jaxb2Marshaller.
RestTemplate now registers JAXB2 and Jackson by default, if found on the classpath.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2531 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 14:34:27 +00:00
Arjen Poutsma d2f5a52178 SPR-6386 - MappingJacksonHttpMessageConverter ignores supported media types property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2530 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 14:14:13 +00:00
Arjen Poutsma 08c639389b HttpMessageConverter.supports() is split into canRead/canWrite.
HttpMessageConverter.write() now allows for a specific content type.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2529 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 13:23:15 +00:00
Arjen Poutsma 93d5ba78ca Support for media subtype suffixes in include(), i.e. application/*+xml includes application/soap+xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2512 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-26 10:41:22 +00:00
Juergen Hoeller 39bf8dc02e added chaining-capable "add" method to MutablePropertyValues
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00