org.sakaiproject.portal.util
Class ToolURLManagerImpl

java.lang.Object
  extended by org.sakaiproject.portal.util.ToolURLManagerImpl
All Implemented Interfaces:
org.sakaiproject.tool.api.ToolURLManager

public class ToolURLManagerImpl
extends Object
implements org.sakaiproject.tool.api.ToolURLManager

This is a default implementation of the ToolURLManager and it comes with a default implementation of ToolURL for all three URL types (render, action and resource). This implementation can be used by most portals that don't do any special URL encoding.

Author:
Vishal Goenka

Nested Class Summary
 class ToolURLManagerImpl.MyToolURL
          This is a simple implemention of ToolURL that does the most obvious encoding of URLs.
 
Constructor Summary
ToolURLManagerImpl(javax.servlet.http.HttpServletResponse resp)
          Constructor for ToolURLComponent
 
Method Summary
 org.sakaiproject.tool.api.ToolURL createActionURL()
           
 org.sakaiproject.tool.api.ToolURL createRenderURL()
           
 org.sakaiproject.tool.api.ToolURL createResourceURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolURLManagerImpl

public ToolURLManagerImpl(javax.servlet.http.HttpServletResponse resp)
Constructor for ToolURLComponent

Parameters:
req - HttpServletRequest that the URLs will be generated for
resp - HttpServletResponse that the URL will be encoded for
Method Detail

createRenderURL

public org.sakaiproject.tool.api.ToolURL createRenderURL()
Specified by:
createRenderURL in interface org.sakaiproject.tool.api.ToolURLManager

createActionURL

public org.sakaiproject.tool.api.ToolURL createActionURL()
Specified by:
createActionURL in interface org.sakaiproject.tool.api.ToolURLManager

createResourceURL

public org.sakaiproject.tool.api.ToolURL createResourceURL()
Specified by:
createResourceURL in interface org.sakaiproject.tool.api.ToolURLManager


Copyright © 2003-2013 University of Michigan. All Rights Reserved.