Commit Graph
135 Commits
Author SHA1 Message Date
Arjen Poutsma cbdec821c4 SPR-7706 - 304 responses should not have non-0 Content-Length
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3824 50f2f4bb-b051-0410-bef5-90022cba6387
2010-12-20 16:32:58 +00:00
Arjen Poutsma 3e2aaec911 Using random port for HTTP integration tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3794 50f2f4bb-b051-0410-bef5-90022cba6387
2010-11-09 10:40:51 +00:00
Arjen Poutsma 3f2b200e64 SPR-7695 - Add ETag version of WebRequest.checkNotModified()
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3787 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-29 10:28:47 +00:00
Arjen Poutsma 19224cac2b SPR-7667
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3779 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-20 13:59:37 +00:00
Arjen Poutsma 601368d10e SPR-6291 - UrlPathHelper is too aggressive decoding URLs
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3748 50f2f4bb-b051-0410-bef5-90022cba6387
2010-10-12 12:09:43 +00:00
Arjen Poutsma 4b3b5ccaac SPR-7591 - HttpStatusCodeException should contain response body
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3692 50f2f4bb-b051-0410-bef5-90022cba6387
2010-09-24 10:06:52 +00:00
Juergen Hoeller 4fa5d75bbb WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3595 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:20:55 +00:00
Juergen Hoeller e39f0704a2 WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3588 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:51:02 +00:00
Juergen Hoeller 29c3bb3152 MockMultipartHttpServletRequest pre-defines method "POST" and content type "multipart/form-data"
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3587 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:46:15 +00:00
Juergen Hoeller 93fb8760ff consistent mocks between modules
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3586 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:02:40 +00:00
Juergen Hoeller b03ec5d78a renamed UriUtilsTest to UriUtilsTests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3585 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 22:01:33 +00:00
Juergen Hoeller 7a47dc548c revised web scoping tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3572 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-12 22:49:26 +00:00
Arjen Poutsma 120aa89907 SPR-7439 - JSON (jackson) @RequestBody marshalling throws awkward exception
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3563 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 08:16:12 +00:00
Arjen Poutsma fb6db2ddb2 SPR-7305 - o.s.http.client.SimpleClientHttpRequestFactory does not allow to specify a java.net.Proxy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3458 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-24 11:42:28 +00:00
Arjen Poutsma 04d607cd77 SPR-7314 - RestTemplate does not handle null uri template parameters
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3457 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-24 09:33:06 +00:00
Juergen Hoeller 7ad0b706c6 ConversionService fully supports conversion from String to MediaType now (through 'valueOf'; SPR-7282); revised exception handling in ObjectToObjectConverter, avoiding InvocationTargetExceptions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3419 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 23:23:49 +00:00
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