Interface TenantWriter

All Known Implementing Classes:
CookieTenantWriter, HttpHeaderTenantWriter

public interface TenantWriter
Responsible for writing the tenant in the request.
Since:
1.0
Author:
Sergio del Amo
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Tenant Writer prefix.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writeTenant(io.micronaut.http.MutableHttpRequest<?> request, Serializable tenant)
    Writes the token to the request.
  • Field Details

  • Method Details

    • writeTenant

      void writeTenant(io.micronaut.http.MutableHttpRequest<?> request, Serializable tenant)
      Writes the token to the request.
      Parameters:
      request - The MutableHttpRequest instance
      tenant - tenant Id