Class 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
    • 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