|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultInterceptor
Intercepts API method invocation result Exchange.
| Method Summary | |
|---|---|
void |
interceptResult(Object result,
Exchange resultExchange)
Do additional result exchange processing, for example, adding custom headers. |
Object |
splitResult(Object result)
Split a complex result into result elements. |
| Method Detail |
|---|
Object splitResult(Object result)
result - API method invocation result
void interceptResult(Object result,
Exchange resultExchange)
result - result of API method invocation.resultExchange - result as a Camel exchange, may be a split result from Arrays or Collections.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||