RequestMethod « Web « Spring Q&A;

Home
Spring Q&A;
1.Annotation
2.AOP
3.Batch
4.Bean
5.Binding
6.Context
7.Core
8.Database
9.Development
10.EJB
11.Exception
12.File
13.GWT
14.Integration
15.Internationalization
16.Java EE
17.Job
18.JPA
19.JSF
20.Message
21.MVC
22.MVC Controller
23.Object
24.Remote
25.Roo
26.Security
27.Session
28.Spring Tool Suite
29.Struts
30.Test
31.Thread
32.Transaction
33.Web
34.Web Service
35.XML
Spring Q&A; » Web » RequestMethod 

1. Why duplicate enums HttpMethod and RequestMethod?    forum.springsource.org

What was design decision behind choosing to create org.springframework.http.HttpMethod when there was already org.springframework.web.bind.annotation.RequestMet hod? Will latter be deprecated? Regards, Stevo.

2. @RequestMapping: RequestMethod.GET and RequestMethod.POST advantages and disadvantage    forum.springsource.org

@RequestMapping: RequestMethod.GET and RequestMethod.POST advantages and disadvantage i've seen the below code from spring reference 2.5.6.SEC01... just wondering why it uses both the GET and POST.. please guide me on... Code: ...

3. RequestMethod.POST should set Http status code as SC_CREATED ?    forum.springsource.org

Hi, I was writing a RESTful controller in Spring 3.0. Had one annotated controller method Signature below : @RequestMapping(value = "/conversation", method = RequestMethod.POST) public String create(@RequestBody Conversation conversation, ModelMap modelMap) ...

4. difference between requestmethod.get and requestmethod.post    forum.springsource.org

can someone explain to me the difference between requestmethod.get and requestmethod.post? i will be using them in my spring mvc project and i just need to know how they should be ...

5. RequestMethod.GET Method Not Working with HttpEntity Argument    forum.springsource.org

RequestMethod.GET Method Not Working with HttpEntity Argument I'm developing a RESTful web service with the Spring 3 MVC approach. I have the following method defined in my controller: @RequestMapping(method=RequestMapping.GET, value="/getXXXXYYYY/person/{identifier}") public ...

6. RequestMethod enum    forum.springsource.org

Ok, here's very simple question. How do I use the @RequestMapping annotation for HTTP methods not contained in the RequestMethod enum? Best regards, Julian

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.