Interface HttpBaseExecutionContext
- All Superinterfaces:
BaseExecutionContext
- All Known Subinterfaces:
ExecutionContext,GenericExecutionContext,HttpExecutionContext,HttpExecutionContext,HttpMessageExecutionContext,HttpPlainExecutionContext,MessageExecutionContext,TcpExecutionContext
Base interface any http-based execution context interface can inherit from.
- Author:
- Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
-
Field Summary
Fields inherited from interface io.gravitee.gateway.reactive.api.context.base.BaseExecutionContext
TEMPLATE_ATTRIBUTE_CONTEXT -
Method Summary
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
-
Method Details
-
metrics
io.gravitee.reporter.api.v4.metric.Metrics metrics()Get the metrics associated with the context.- Returns:
- a
Metricsobject.
-
request
HttpBaseRequest request()Get the current request stuck to this execution context.- Returns:
- the request attached to this execution context.
-
response
HttpBaseResponse response()Get the current response stuck to this execution context.- Returns:
- the response attached to this execution context.
-