ReceiverPostProcessHandlerInterface

This interface describes the methods that all postprocessing handlers must implement:

Method

init

Method description

Initializes the handler

Syntax

public void init(Context context, Config handlerConfig)
               throws BCGReceiverException

Parameters

context
The context in which the handler executes
handlerConfig
Handler configuration

Method

applies

Method description

The handler returns true if it can process the request document. Otherwise it returns false.

Syntax

public boolean applies(ReceiverDocumentInterface response)
              throws BCGReceiverException

Parameters

response
The response document

Method

process

Method description

Postprocesses the response document. Returns an array of receiver documents.

Syntax

public ReceiverDocumentInterface[] process(
                             ReceiverDocumentInterface response)
               throws BCGReceiverException

Parameters

response
The response document

Copyright IBM Corp. 2003, 2005