Interface ExchangeContext


public interface ExchangeContext

Base Exchange context interface.

An exchange context is attached to an exchange to expose contextual data and operation during the lifetime of an exchange. It is created by the HTTP server with the Exchange using RootExchangeHandler.createContext() at the earliest possible moment basically when a request is received.

Since:
1.3
Author:
Jeremy Kuhn
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Initializes the exchange context.
  • Method Details

    • init

      default void init()

      Initializes the exchange context.

      This method is invoked by the HTTP server right after creation.