org.jasig.portlet.test.mvc.tests
Class ResourceURLController
java.lang.Object
org.jasig.portlet.test.mvc.tests.BasePortletTest
org.jasig.portlet.test.mvc.tests.ResourceURLController
- All Implemented Interfaces:
- PortletTest, org.springframework.beans.factory.BeanNameAware, org.springframework.web.portlet.context.PortletContextAware
@Controller(value="resourceURLTest")
@RequestMapping(value={"VIEW","EDIT","HELP","ABOUT"},
params="currentTest=resourceURLTest")
public class ResourceURLController- extends BasePortletTest
- implements org.springframework.web.portlet.context.PortletContextAware
Simple Controller that responds to test resource urls.
- Version:
- $Id: ResourceURLController.java 25458 2011-11-01 21:18:01Z edalquist $
- Author:
- Nicholas Blair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceURLController
public ResourceURLController()
setPortletContext
public void setPortletContext(javax.portlet.PortletContext portletContext)
- Specified by:
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAware
getTestName
public String getTestName()
- Specified by:
getTestName in interface PortletTest
displayBasicTestView
@RequestMapping
public String displayBasicTestView()
handleBasicJsonResourceUrl
@ResourceMapping(value="basicJsonResourceUrl")
public String handleBasicJsonResourceUrl(org.springframework.ui.ModelMap model)
displayParameterTestView
@RequestMapping(params="testname=param")
public String displayParameterTestView(org.springframework.ui.ModelMap model,
@RequestParam(value="renderParameter",required=false,defaultValue="")
String renderParam)
handleParamResourceUrl
@ResourceMapping(value="paramJsonResourceUrl")
public String handleParamResourceUrl(javax.portlet.ResourceRequest request,
org.springframework.ui.ModelMap model)
handleResourceInclude
@ResourceMapping(value="resourceInclude")
public void handleResourceInclude(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response)
throws Exception
- Throws:
Exception
noopAction
@ActionMapping
public void noopAction()
Copyright © 2012 Jasig. All Rights Reserved.