org.xwiki.portlet.url
Class URLRequestTypeMapper
java.lang.Object
org.xwiki.portlet.url.URLRequestTypeMapper
public class URLRequestTypeMapper
- extends Object
Maps servlet URLs to portlet request types.
- Version:
- $Id: a6ae0e84d1802f9ce074e3d7c76d7a21e9fdf131 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLRequestTypeMapper
public URLRequestTypeMapper()
- Creates a new instance that maps URL to
RequestType based on a configuration file.
getType
public RequestType getType(String contextFreeURL)
- Parameters:
contextFreeURL - a string representation of an URL without including the server information and context path
- Returns:
- the request type associated with the given URL
Copyright © 2004-2013 XWiki. All Rights Reserved.