lumis.lptf.portal.serviceinterface
Class RequestCycle
java.lang.Object
lumis.lptf.portal.serviceinterface.RequestCycle
- All Implemented Interfaces:
- IRequestCycle
- Direct Known Subclasses:
- ActionRequestCycle, RenderRequestCycle
public abstract class RequestCycle
- extends Object
- implements IRequestCycle
Represents the request cycle.
- Since:
- 5.6.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceInterface
protected IServiceInterface serviceInterface
RequestCycle
public RequestCycle()
getRequest
public abstract IMockServiceInterfaceRequest getRequest()
- Return the request used when processing this request cycle.
- Specified by:
getRequest
in interface IRequestCycle
- 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 interface IRequestCycle
- 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
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.