public class DefaultRequestMethodResolver extends java.lang.Object implements RequestMethodResolver
RequestMethodResolver to resolve a method name for a request.| Constructor and Description |
|---|
DefaultRequestMethodResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected PathMatcher |
getPathMatcher() |
protected java.util.List<java.lang.String> |
getPostToGetUriList() |
java.lang.String |
resolvePostToGet(HttpServletRequest request)
Method should return a "GET" for a particular "POST" request otherwise it returns the method name from the request.
|
void |
setPathMatcher(PathMatcher pathMatcher) |
void |
setPostToGetUriList(java.util.List<java.lang.String> postToGetUriList) |
public java.lang.String resolvePostToGet(HttpServletRequest request)
resolvePostToGet in interface RequestMethodResolverrequest - the requestprotected java.util.List<java.lang.String> getPostToGetUriList()
public void setPostToGetUriList(java.util.List<java.lang.String> postToGetUriList)
protected PathMatcher getPathMatcher()
public void setPathMatcher(PathMatcher pathMatcher)
Copyright © 2018 SAP SE. All Rights Reserved.