Class ActionRequestCycle
- java.lang.Object
-
- lumis.lptf.portal.serviceinterface.RequestCycle
-
- lumis.lptf.portal.serviceinterface.ActionRequestCycle
-
- All Implemented Interfaces:
IActionRequestCycle
,IRequestCycle
public class ActionRequestCycle extends RequestCycle implements IActionRequestCycle
Represents the action request cycle - containing mocks for request and response and process actions.- Since:
- 5.6.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from class lumis.lptf.portal.serviceinterface.RequestCycle
serviceInterface
-
-
Constructor Summary
Constructors Constructor Description ActionRequestCycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMockServiceInterfaceActionRequest
getRequest()
Return the request used when processing this request cycle.IMockServiceInterfaceActionResponse
getResponse()
Return the response used when processing this request cycle.void
processAction()
Call theprocessAction
method of a service interface using this cycle's request and response objects.-
Methods inherited from class lumis.lptf.portal.serviceinterface.RequestCycle
init
-
-
-
-
Method Detail
-
getRequest
public IMockServiceInterfaceActionRequest getRequest()
Description copied from class:RequestCycle
Return the request used when processing this request cycle.- Specified by:
getRequest
in interfaceIActionRequestCycle
- Specified by:
getRequest
in interfaceIRequestCycle
- Specified by:
getRequest
in classRequestCycle
- Returns:
- this cycle's request.
-
getResponse
public IMockServiceInterfaceActionResponse getResponse()
Description copied from class:RequestCycle
Return the response used when processing this request cycle.- Specified by:
getResponse
in interfaceIActionRequestCycle
- Specified by:
getResponse
in interfaceIRequestCycle
- Specified by:
getResponse
in classRequestCycle
- Returns:
- this cycle's response.
-
processAction
public void processAction() throws PortalException
Description copied from interface:IActionRequestCycle
Call theprocessAction
method of a service interface using this cycle's request and response objects.- Specified by:
processAction
in interfaceIActionRequestCycle
- Throws:
PortalException
- if theprocessAction
method throws it.
-
-