Commit Graph

24828 Commits

Author SHA1 Message Date
Arjen Poutsma eb47a4b5be SPR-5516: RestTemplate should encode the url variables 2009-02-24 15:01:01 +00:00
Arjen Poutsma 4c0edc2b9d SPR-5515: NPE when passing null as a request to RestTemplate.postForLocation 2009-02-24 14:01:07 +00:00
Arjen Poutsma 2d0705467a Added Form converter 2009-02-24 12:59:59 +00:00
Arjen Poutsma e35201fc78 Javadoc 2009-02-24 12:36:22 +00:00
Juergen Hoeller c46b0ae271 polishing 2009-02-24 12:20:41 +00:00
Juergen Hoeller 760cab8fea refactored HTTP support into top-level package "org.springframework.http"; revised RestTemplate facility in package "org.springframework.web.client" 2009-02-24 11:46:00 +00:00
Juergen Hoeller 882c195221 polishing 2009-02-24 00:27:36 +00:00
Juergen Hoeller 0b4e7cc5ed deprecated support for JMS 1.0.2 providers 2009-02-24 00:26:37 +00:00
Arjen Poutsma 11e7ad21b0 Added tests 2009-02-23 23:44:49 +00:00
Arjen Poutsma 332607ad6c Fixed issue in parsing of invalid MediaTypes from java.net.HttpUrlConnection (*; q=.2) 2009-02-23 22:02:10 +00:00
Arjen Poutsma bc8941084a Added MultiValueMap 2009-02-23 17:15:00 +00:00
Arjen Poutsma e22f267dba Added ServerHttpRequest/Response to web.http, and Servlet-based implementations. 2009-02-23 11:49:09 +00:00
Arjen Poutsma b2fdd7f1fe Added UriTemplate class 2009-02-22 14:54:09 +00:00
Arjen Poutsma ca535bb1d0 SPR-5260: RestTemplate 2009-02-22 14:51:00 +00:00
Arjen Poutsma cdd37d7e8b Character encoding tests 2009-02-22 14:46:12 +00:00
Arjen Poutsma e9d548e62f Fixed problem when headers were written after ClientHttpRequest.execute() 2009-02-22 14:35:28 +00:00
Arjen Poutsma 0db40dd676 Fixing tests 2009-02-22 10:15:32 +00:00
Arjen Poutsma 1bc5188953 Fixing tests 2009-02-22 10:03:40 +00:00
Juergen Hoeller dc1edccc56 prototype beans receive independent collection/array even when based on single value (SPR-5512) 2009-02-21 18:04:08 +00:00
Arjen Poutsma 2de9e2a38d Added HTTP conversion abstraction for RestTemplate 2009-02-21 13:34:55 +00:00
Arjen Poutsma 4a02cd96ea Added HTTP abstraction for RestTemplate 2009-02-21 11:52:38 +00:00
Juergen Hoeller 5fed34bdb4 testing the exception message when conversion of a generic collection element fails 2009-02-20 17:12:29 +00:00
Arjen Poutsma 171b855d10 Added JUnit 4.5 2009-02-20 14:58:19 +00:00
Juergen Hoeller 84ea67669a ModelAndView's "cleared" state gets preserved in case of plain model Map access 2009-02-20 11:48:26 +00:00
Juergen Hoeller eb1631f458 SimpleAliasRegistry detects resolved aliases that loop back to the original name (SPR-5419); PropertyPlaceholderConfigurer does not modify Map in case of equal String keys (SPR-5318); inner class names in Java source style ("java.lang.Thread.State") supported as well (SPR-5210) 2009-02-19 16:17:35 +00:00
Juergen Hoeller ff8e7a1289 further M2 revisions 2009-02-19 00:29:21 +00:00
Juergen Hoeller 4cc42bf16f added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code 2009-02-19 00:24:05 +00:00
Juergen Hoeller dd7d299aa4 updated for execution of integration tests 2009-02-19 00:16:20 +00:00
Juergen Hoeller 56bd995d9c "url" macro in "spring.ftl" performs standard Servlet URL encoding automatically 2009-02-18 23:55:32 +00:00
Juergen Hoeller d3d0111439 polishing 2009-02-18 23:51:03 +00:00
Juergen Hoeller 85bc98ea4b MethodInvocations and ProceedingJoinPoints always expose original method (not bridge); ProceedingJoinPoint resolves parameter names using ASM-based parameter name discovery 2009-02-18 23:45:14 +00:00
Juergen Hoeller 02164ab6a7 always use static imports with '*' 2009-02-17 19:10:35 +00:00
Juergen Hoeller 43caa57296 optimized OrderComparator usage 2009-02-17 18:19:57 +00:00
Juergen Hoeller 9871e94cad SimpleAliasRegistry's "getAliases" method returns transitive aliases now; @Qualifier value matching takes chained aliases of target beans into account as well 2009-02-17 18:18:33 +00:00
Juergen Hoeller 35c36dda4b fixed HTTP invoker to support resolution of multi-level primitive array classes again 2009-02-17 17:50:14 +00:00
Juergen Hoeller 57874a6050 SmartApplicationListener interface supports source type checking; SimpleApplicationEventMulticaster caches information about event/source matches 2009-02-17 17:46:14 +00:00
Arjen Poutsma aff17ca9e5 Uncommented test case 2009-02-16 13:42:05 +00:00
Juergen Hoeller 35040a6572 prepared for 3.0 M2 release 2009-02-16 01:51:18 +00:00
Juergen Hoeller 5a09a2d642 polishing 2009-02-16 01:43:49 +00:00
Juergen Hoeller d56419dad9 default post-processors use their default component order now 2009-02-16 01:43:24 +00:00
Juergen Hoeller 46cbaa9729 pre-converted property values are preserved more eagerly for re-created beans (SPR-5293) 2009-02-16 01:36:13 +00:00
Juergen Hoeller 15bbd575a9 bridge method resolution works with Hibernate-generated CGLIB proxies as well (SPR-5414) 2009-02-16 01:35:35 +00:00
Juergen Hoeller 213b528ffe ASM-based AnnotationMetadata fully resolves class arguments and enums into Java types (SPR-5477, SPR-5479) 2009-02-15 21:50:01 +00:00
Juergen Hoeller 90b5c3a8dd @RequestMapping type-level param constraints taken into account consistently 2009-02-15 21:31:20 +00:00
Juergen Hoeller a25e24f37e generified TransactionCallback; WebSphereUowTransactionManager preserves original exception in case of rollback (SPR-5270) 2009-02-15 19:48:18 +00:00
Chris Beams d0b03604c8 Remapped static resources as /petclinic/static/images/...
Renamed tutorial from petclinic.html -> tutorial.html
2009-02-14 21:50:51 +00:00
Chris Beams 3ddd08942c Polishing the new RESTful interface to the petclinic webapp (SPR-5487):
* Eliminated redundant 'clinic' servlet mapping (was: http://localhost:8080/petclinic/clinic/owners; now: http://localhost:8080/petclinic/owners)
* A parameterless GET for /owners now returns the list of all owners, rather than an error.
* /owners/form is now /owners/search (distinguishes the 'search form' resource from the 'edit owner form' resource)
* Eliminated any need for redirects, <welcome-file-list/>, and index.jsp. Deleted all of them.
* Updated /owners/{oid}/edit to submit using PUT instead of POST
* Updated URI for edit pet form from /owners/{oid}/pets/{pid} to /owners/{oid}/pets/{pid}/edit (the edit form is a distinct resource)
* Updated /owners/{oid}/pets/{pid}/edit to submit using PUT instead of POST

Changes unrelated to the web interface:

* Partitioned up JSPs into new owners, pets, and vets folders.
* Renamed those JSPs, e.g. ownerForm.jsp -> owners/form.jsp; findOwners.jsp -> owners/search.jsp; owners.jsp -> owners/list.jsp
* Updated various controllers to respect the changes to the URI templates, etc.
* Updated .classpath to include all necessary projects and libs to run the webapp successfully in WTP
* Updated JSP error checking rules to relax validation of fragments like header.jsp and footer.jsp
2009-02-14 09:11:14 +00:00
Chris Beams da2175c0b7 * Updated Eclipse classpath metadata
* Fixed (or suppressed as necessary) JSP errors in petclinic
2009-02-14 03:09:59 +00:00
Juergen Hoeller fe462916b1 TypeUtils detects variations of ParameterizedType/GenericArrayType assignability as well 2009-02-13 12:17:48 +00:00
Juergen Hoeller d8651a88ec UrlResource eagerly closes HTTP connections in case of "getInputStream()" failure (SPR-5338) 2009-02-13 12:16:11 +00:00