Commit Graph

266 Commits

Author SHA1 Message Date
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
Juergen Hoeller 1ea544250f fixed exception propagation issue with Hessian 4.0 (SPR-6899)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3056 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 22:22:47 +00:00
Juergen Hoeller 3e8a6d480a WebApplicationObjectSupport's initServletContext will be called only once in any scenario (SPR-6914)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3046 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-03 16:26:47 +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 3768c33b69 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3039 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-02 10:53:15 +00:00
David Syer 25ef81476d Update Central POMs to 3.0.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-21 15:32:18 +00:00
Juergen Hoeller 94ff6e5fac fixed @RequestParam(required=false) regression for @InitBinder methods (SPR-6878)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3019 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-20 16:14:14 +00:00
Juergen Hoeller 7a0d88b799 upgraded to Hibernate Validator 4.0.2 and Jackson 1.4.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3017 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 13:58:19 +00:00
Costin Leau 4be6044db9 + make use or property placeholders inside template.mf
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 09:43:22 +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
Juergen Hoeller 4ae4dcbdab store a static WebApplicationContext reference if the Spring jars get deployed in the same web application as the ContextLoader (SPR-5652)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2984 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 17:58:52 +00:00
Juergen Hoeller c31ad7f14b @RequestParam/RequestHeader/CookieValue's defaultValue allows for declaring empty String (SPR-6791)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2977 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 12:10:55 +00:00
Juergen Hoeller d43abdd37c support for Hessian 4.0.x (SPR-6041)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2927 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 18:36:21 +00:00
Juergen Hoeller 86512f5927 added warning about annotated controller interfaces (SPR-6655)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2923 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 15:52:15 +00:00
Juergen Hoeller 92fddc10aa @SessionAttributes works when used on an annotated controller interface with AOP proxying (SPR-6797)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2922 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 15:39:58 +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
Costin Leau 5e677feda0 + upgrade to AspectJ 1.6.8
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:46:21 +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
Chris Beams 31e86ea429 Updated documentation to point out that AnnotationConfigWebApplicationContext can accept both fully-qualified class names as well as base packages to the contextConfigLocation init-param.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2870 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-28 03:42:42 +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
Juergen Hoeller 79fc317d2e WebRequest is a resolvable dependency in Servlet/Portlet web application contexts (SPR-6727)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2845 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 22:09:13 +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
David Syer e6d2f9428c SPR-6678: fix poms for 3.0.1
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:07:08 +00:00
Juergen Hoeller cb2adcaa8d removed MultipartRequest mixin interface again (avoiding a package dependency cycle)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 00:51:32 +00:00
Juergen Hoeller 0d0d68a6ae ignore client proxies for export
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2646 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:50:48 +00:00
Juergen Hoeller 1a2005dc8b reimplemented bean lookup to avoid getBeanNamesForType(Object.class)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2644 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:30:07 +00:00
David Syer 82329158f7 SPR-6541: consolidate repositories into a profile (-P build)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2623 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-11 06:23:46 +00:00
Juergen Hoeller 00dc3b04a1 reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2614 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 22:29:43 +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
Arjen Poutsma 6ac29a70e9 SPR-6502 - Broken @RequestMapping inheritance
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2594 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 16:44:51 +00:00
Juergen Hoeller f83bd91ef3 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2588 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 09:43:16 +00:00
Juergen Hoeller b8b6d2f7e9 opened up RestTemplate method signatures to Map<String, ?> and Object array instead of enforcing String values
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2581 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:29:53 +00:00
David Syer 2bad74c238 SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
Sam Brannen b96a18fef3 JavaDoc polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2561 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-02 09:34:12 +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
David Syer 9b7928b808 SPR-5327: tidy up Maven dependencies (keeping commons-logging)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:56:25 +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