Interface RequestMethodResolver
- All Known Implementing Classes:
DefaultRequestMethodResolver
public interface RequestMethodResolver
Service to resolve a method name for a request. Useful to identify the intention of the request.
For example, some POST methods actually do only GET operations.
-
Method Summary
Modifier and TypeMethodDescriptionresolvePostToGet(javax.servlet.http.HttpServletRequest request) Method should return a "GET" for a particular "POST" request otherwise it returns the method name from the request.
-
Method Details
-
resolvePostToGet
Method should return a "GET" for a particular "POST" request otherwise it returns the method name from the request.- Parameters:
request- the request- Returns:
- the method name
-