Package org.sakaiproject.portal.util
Class ToolURLManagerImpl
- java.lang.Object
-
- org.sakaiproject.portal.util.ToolURLManagerImpl
-
- All Implemented Interfaces:
ToolURLManager
public class ToolURLManagerImpl extends Object implements 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
Nested Classes Modifier and Type Class Description classToolURLManagerImpl.MyToolURLThis is a simple implemention of ToolURL that does the most obvious encoding of URLs.
-
Constructor Summary
Constructors Constructor Description ToolURLManagerImpl(HttpServletResponse resp)Constructor for ToolURLComponent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ToolURLcreateActionURL()ToolURLcreateRenderURL()ToolURLcreateResourceURL()
-
-
-
Constructor Detail
-
ToolURLManagerImpl
public ToolURLManagerImpl(HttpServletResponse resp)
Constructor for ToolURLComponent- Parameters:
req- HttpServletRequest that the URLs will be generated forresp- HttpServletResponse that the URL will be encoded for
-
-
Method Detail
-
createRenderURL
public ToolURL createRenderURL()
- Specified by:
createRenderURLin interfaceToolURLManager
-
createActionURL
public ToolURL createActionURL()
- Specified by:
createActionURLin interfaceToolURLManager
-
createResourceURL
public ToolURL createResourceURL()
- Specified by:
createResourceURLin interfaceToolURLManager
-
-