com.siebel.rf.offline.branch.server
Interface RequestHandler
- All Known Implementing Classes:
- Handler
- public interface RequestHandler
The RequestHandler interface
Method Summary |
java.util.Vector |
handleRequest(java.util.Vector request,
java.util.Vector response,
boolean online)
Sets the request, response, branchOnline with the given parameter
values then returns the Vector of handleRequest |
boolean |
isAValidResponse(java.util.Vector response)
Gets the datapacket name after converting given Vector response into datapacket ,
if the name contains EXCEPTION then returns false otherwise returns ture |
handleRequest
public java.util.Vector handleRequest(java.util.Vector request,
java.util.Vector response,
boolean online)
throws com.bankframe.ejb.ProcessingErrorException,
com.bankframe.validation.ValidationException
- Sets the request, response, branchOnline with the given parameter
values then returns the Vector of handleRequest
- Parameters:
request
- Vectorresponse
- Vectoronline
- boolean- Returns:
- the Vector of handleRequest
- Throws:
com.bankframe.ejb.ProcessingErrorException
- This exception is thrown if processing failscom.bankframe.validation.ValidationException
- This exception is thrown if validation fails
isAValidResponse
public boolean isAValidResponse(java.util.Vector response)
- Gets the datapacket name after converting given Vector response into datapacket ,
if the name contains EXCEPTION then returns false otherwise returns ture
- Parameters:
response
- Vector- Returns:
- the boolean value after checking the response