Package com.iizix.ws.api
Interface IReplyProcessor
- All Known Subinterfaces:
- IEditorReplyProcessor
 - All Known Implementing Classes:
- EditorJSONReplyDocument,- JSONReplyDocument
 - public interface IReplyProcessorReply processor interface for the Web Service output. A class can choose to match the reply contents received from the Web Service transaction for further processing. If this processor do not match the content, the next in chain will handle the reply.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - java.lang.String- getFailureMessage()Gets the failure message for the reply.- java.lang.String- getReplyMatch(IReplyContent reply)Called to verify if the reply matches the reply format of this processor.- void- processReply(IAppSessionGyro appGyro, OutputProps output, IReplyContent reply)Processes the reply contents for the Web Service.
 
- Method Detail- getReplyMatch- java.lang.String getReplyMatch(IReplyContent reply) Called to verify if the reply matches the reply format of this processor.- Parameters:
- reply- The reply contents.
- Returns:
- nullfor match, or an error message.
 
 - getFailureMessage- java.lang.String getFailureMessage() Gets the failure message for the reply.- Returns:
- null to proceed processing, or a String as message to throw to abort the web service.
 
 - processReply- void processReply(IAppSessionGyro appGyro, OutputProps output, IReplyContent reply) throws PropException Processes the reply contents for the Web Service.- Parameters:
- appGyro- The application session gyro in the server, null for Designer.
- output- The output properties.
- reply- The reply contents.
- Throws:
- PropException- For property errors.