Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/griffio/spring-example03
https://github.com/griffio/spring-example03
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/griffio/spring-example03
- Owner: griffio
- Created: 2014-10-13T14:16:11.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T05:56:48.000Z (about 9 years ago)
- Last Synced: 2024-04-16T18:27:03.763Z (7 months ago)
- Language: Java
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
spring-example03
================Spring 4.2.0.RELEASE
Spring Config for a simple Web app.
Shows that a controller stereotype annotation is not needed, instead compose a "meta" annotation to specify the class is being used for request mappings that also return a response body(Effectively @RestController).Only RequestMapping is needed for use in MVC.
See org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping#isHandler.