Class RequestCycle
- java.lang.Object
-
- lumis.lptf.portal.serviceinterface.RequestCycle
-
- All Implemented Interfaces:
IRequestCycle
- Direct Known Subclasses:
ActionRequestCycle
,RenderRequestCycle
public abstract class RequestCycle extends java.lang.Object implements IRequestCycle
Represents the request cycle.- Since:
- 5.6.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected IServiceInterface
serviceInterface
-
Constructor Summary
Constructors Constructor Description RequestCycle()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract IMockServiceInterfaceRequest
getRequest()
Return the request used when processing this request cycle.abstract IMockServiceInterfaceResponse
getResponse()
Return the response used when processing this request cycle.void
init(ServiceInterfaceInstanceConfig siic)
Initializes the request and response mocks with information from ServiceInterfaceInstanceConfig instance.
-
-
-
Field Detail
-
serviceInterface
protected IServiceInterface serviceInterface
-
-
Method Detail
-
getRequest
public abstract IMockServiceInterfaceRequest getRequest()
Return the request used when processing this request cycle.- Specified by:
getRequest
in interfaceIRequestCycle
- Returns:
- this cycle's request.
- Since:
- 5.6.0
-
getResponse
public abstract IMockServiceInterfaceResponse getResponse()
Return the response used when processing this request cycle.- Specified by:
getResponse
in interfaceIRequestCycle
- Returns:
- this cycle's response.
- Since:
- 5.6.0
-
init
public void init(ServiceInterfaceInstanceConfig siic) throws ServiceInterfaceTestException
Initializes the request and response mocks with information from ServiceInterfaceInstanceConfig instance.- Parameters:
siic
- instance of ServiceInterfaceInstanceConfig- Throws:
ServiceInterfaceTestException
- whenever an error occur- Since:
- 5.6.0
-
-