Interface ExchangeContext

All Known Subinterfaces:
io.inverno.mod.security.http.context.DelegatingSecurityContext<A,B>, InterceptingSecurityContext<A,B>, SecurityContext<A,B>

public interface ExchangeContext

Base Exchange context interface.

An exchange context is attached to an exchange to carry and expose contextual data and operation during the lifetime of an HTTP exchange. It is created either by an HTTP server with a server exchange at the earliest possible moment basically when a request is received or injected into a client exchange when sending an HTTP client request.

Since:
1.3
Author:
Jeremy Kuhn
  • 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.