Interface HttpBaseExecutionContext

All Superinterfaces:
BaseExecutionContext
All Known Subinterfaces:
ExecutionContext, GenericExecutionContext, HttpExecutionContext, HttpExecutionContext, HttpMessageExecutionContext, HttpPlainExecutionContext, MessageExecutionContext, TcpExecutionContext

public interface HttpBaseExecutionContext extends BaseExecutionContext
Base interface any http-based execution context interface can inherit from.
Author:
Jeoffrey HAEYAERT (jeoffrey.haeyaert at graviteesource.com), GraviteeSource Team
  • Method Details

    • metrics

      io.gravitee.reporter.api.v4.metric.Metrics metrics()
      Get the metrics associated with the context.
      Returns:
      a Metrics object.
    • 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.