Interface HttpExecutionContext
- All Superinterfaces:
BaseExecutionContext,BaseMessageExecutionContext,HttpBaseExecutionContext,HttpMessageExecutionContext,HttpPlainExecutionContext
- All Known Subinterfaces:
ExecutionContext
public interface HttpExecutionContext
extends HttpPlainExecutionContext, HttpMessageExecutionContext
Allows accessing the specificities related to
HttpPlainExecutionContext and HttpMessageExecutionContext from a http context that can mutate from plain to messages.- 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_CONTEXTFields inherited from interface io.gravitee.gateway.reactive.api.context.http.HttpMessageExecutionContext
TEMPLATE_ATTRIBUTE_MESSAGEFields inherited from interface io.gravitee.gateway.reactive.api.context.http.HttpPlainExecutionContext
TEMPLATE_ATTRIBUTE_REQUEST, TEMPLATE_ATTRIBUTE_RESPONSE -
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, warnWithMethods inherited from interface io.gravitee.gateway.reactive.api.context.base.BaseMessageExecutionContext
getTemplateEngine, interruptMessage, interruptMessagesMethods inherited from interface io.gravitee.gateway.reactive.api.context.http.HttpBaseExecutionContext
metricsMethods inherited from interface io.gravitee.gateway.reactive.api.context.http.HttpMessageExecutionContext
interruptMessagesWith, interruptMessageWithMethods inherited from interface io.gravitee.gateway.reactive.api.context.http.HttpPlainExecutionContext
interrupt, interruptBody, interruptBodyWith, interruptWith
-
Method Details
-
request
HttpRequest request()Description copied from interface:HttpPlainExecutionContextGet the current request stuck to this execution context.- Specified by:
requestin interfaceHttpBaseExecutionContext- Specified by:
requestin interfaceHttpMessageExecutionContext- Specified by:
requestin interfaceHttpPlainExecutionContext- Returns:
- the request attached to this execution context.
-
response
HttpResponse response()Description copied from interface:HttpPlainExecutionContextGet the current response stuck to this execution context.- Specified by:
responsein interfaceHttpBaseExecutionContext- Specified by:
responsein interfaceHttpMessageExecutionContext- Specified by:
responsein interfaceHttpPlainExecutionContext- Returns:
- the response attached to this execution context.
-