Interface BaseMessageExecutionContext
- All Superinterfaces:
BaseExecutionContext
- All Known Subinterfaces:
ExecutionContext,HttpExecutionContext,HttpMessageExecutionContext,MessageExecutionContext
Base interface any message execution context interface can inherit from.
- Author:
- Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
-
Field Summary
FieldsFields inherited from interface io.gravitee.gateway.reactive.api.context.base.BaseExecutionContext
TEMPLATE_ATTRIBUTE_CONTEXT -
Method Summary
Modifier and TypeMethodDescriptionio.gravitee.el.TemplateEnginegetTemplateEngine(Message message) Get theTemplateEnginethat can be used to evaluate EL expressions.io.reactivex.rxjava3.core.Maybe<Message>Same asinterruptMessages()but at message levelio.reactivex.rxjava3.core.Flowable<Message>Interrupts the current execution while indicating that the flow of messages can be consumed "as is" to the downstream.Methods inherited from interface io.gravitee.gateway.reactive.api.context.base.BaseExecutionContext
getAttribute, getAttributeAsList, getAttributeNames, getAttributes, getComponent, getInternalAttribute, getInternalAttributes, getTemplateEngine, getTracer, localAddress, putAttribute, putInternalAttribute, remoteAddress, removeAttribute, removeInternalAttribute, setAttribute, setInternalAttribute, timestamp, tlsSession, warnWith
-
Field Details
-
TEMPLATE_ATTRIBUTE_MESSAGE
- See Also:
-
-
Method Details
-
interruptMessages
io.reactivex.rxjava3.core.Flowable<Message> interruptMessages()Interrupts the current execution while indicating that the flow of messages can be consumed "as is" to the downstream. This has direct impact on how the remaining execution flow will behave (ex: remaining policies in a policy chain won't be executed). -
interruptMessage
io.reactivex.rxjava3.core.Maybe<Message> interruptMessage()Same asinterruptMessages()but at message level -
getTemplateEngine
Get theTemplateEnginethat can be used to evaluate EL expressions.- Returns:
- the El
TemplateEngine.
-