lumis.lptf.portal.serviceinterface
Class RequestCycle

Package class diagram package RequestCycle
java.lang.Object
  extended by 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

Field Summary
protected  IServiceInterface serviceInterface
           
 
Constructor Summary
RequestCycle()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceInterface

protected IServiceInterface serviceInterface
Constructor Detail

RequestCycle

public RequestCycle()
Method Detail

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.