org.shredzone.repowatch.web.util
Class RequestMappingResolver
java.lang.Object
org.shredzone.repowatch.web.util.RequestMappingResolver
public class RequestMappingResolver
- extends Object
Resolves the URL according to the RequestMapping pattern.
Note that Spring is about to bring a similar functionality, see
here .
If it is available, this class should be removed and replaced by
the official solution.
- Version:
- $Revision: 317 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestMappingResolver
public RequestMappingResolver(String url)
- Creates a new RequestMappingResolver.
- Parameters:
url - The URL given to the corresponding
RequestMapping annotation.
getRequestParts
public RequestMappingResolver.RequestParts getRequestParts(javax.servlet.http.HttpServletRequest req)
- Gets the
RequestMappingResolver.RequestParts object for the given request.
- Parameters:
req - HttpServletRequest
- Returns:
RequestMappingResolver.RequestParts with the results
getRequestParts
public RequestMappingResolver.RequestParts getRequestParts(String request)
- Gets the
RequestMappingResolver.RequestParts object for the given request.
- Parameters:
request - Request part (requestURI minus contextPath).
- Returns:
RequestMappingResolver.RequestParts with the results
Copyright © 2007-2011 shredzone.org. All Rights Reserved.