|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PhaseListener
Low-level extension point that can be used to add functionality to individual phases of
request processing. An example would be the PhaseListener implementation
used by the Pimento data management framework to wrap the
decoding and encoding process with transactions.
| Method Summary | |
|---|---|
void |
afterDecodingException(Exception ex)
Invoked if decoding of the incoming AMF request failed. |
void |
afterEncoding()
Invoked after encoding of the response has been completed. |
void |
afterProcessing(Envelope request,
Envelope response)
Invoked after processing of messages has been completed but before encoding of the response has started. |
void |
beforeDecoding()
Invoked before decoding of the incoming AMF request starts. |
void |
beforeProcessing(Envelope request)
Invoked after decoding of the request has been completed but before processing the decoded messages. |
| Method Detail |
|---|
void beforeDecoding()
void afterDecodingException(Exception ex)
ex - the Exception that was caught while decoding the requestvoid beforeProcessing(Envelope request)
request - the Envelope containing all messages that will be processed
void afterProcessing(Envelope request,
Envelope response)
request - the Envelope containing all request messages that have been processedresponse - the Envelope containing all response messages that will be sent to the clientvoid afterEncoding()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||