Commit Graph
108 Commits
Author SHA1 Message Date
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
Arjen Poutsma 4d931cbe8c Changing umlaut to unicode sequence
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2426 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 01:49:56 +00:00
Arjen Poutsma 2daf5635cb SPR-6188 - UriTemplate: Insufficient handling of characters that need to be escaped.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2423 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 01:27:54 +00:00
Arjen Poutsma 437ec7d98d SPR-6291 - UrlPathHelper is too aggressive decoding URLs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2298 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 12:15:17 +00:00
Costin Leau c5a0c30f75 SPR-6194
+ add setter for servlet minor version to MockServletContext

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2296 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-09 11:51:30 +00:00
Arjen Poutsma 13a5268638 Fixing test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2264 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-05 13:44:52 +00:00
Arjen Poutsma ff8cd9db6a SPR-6247 - Multipart Content-Type charset is ignored in CommonsFileUploadSupport.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2189 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-27 11:42:36 +00:00
Juergen Hoeller 215f0f6841 reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2172 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-23 17:46:16 +00:00
Arjen Poutsma b40513bb4b SPR-6177 - HttpHeadersTests fails with non-english locale
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2106 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-14 09:53:25 +00:00
Juergen Hoeller 3f2884910a DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2099 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:55:57 +00:00
Arjen Poutsma cd37a26586 Added URI variant methods to the RestTemplate.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2094 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 14:20:24 +00:00
Chris Beams feaa82a874 SPR-5682:
* polishing for ConfigurationClassApplicationContext & tests
* added ConfigurationClassWebApplicationContext & tests
* next: refactoring out duplications between ConfigurationClassApplicationContext & ConfigurationClassWebApplicationContext


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2051 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 05:27:30 +00:00