org.xwiki.portlet.url
Class URLRequestTypeMapper

java.lang.Object
  extended by org.xwiki.portlet.url.URLRequestTypeMapper

public class URLRequestTypeMapper
extends Object

Maps servlet URLs to portlet request types.

Version:
$Id: a6ae0e84d1802f9ce074e3d7c76d7a21e9fdf131 $

Constructor Summary
URLRequestTypeMapper()
          Creates a new instance that maps URL to RequestType based on a configuration file.
 
Method Summary
 RequestType getType(String contextFreeURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLRequestTypeMapper

public URLRequestTypeMapper()
Creates a new instance that maps URL to RequestType based on a configuration file.

Method Detail

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.