Package io.micronaut.multitenancy.writer
Interface TenantWriter
-
- All Known Implementing Classes:
CookieTenantWriter,HttpHeaderTenantWriter
public interface TenantWriterResponsible for writing the tenant in the request.- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPREFIXTenant Writer prefix.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwriteTenant(io.micronaut.http.MutableHttpRequest<?> request, java.io.Serializable tenant)Writes the token to the request.
-
-
-
Field Detail
-
PREFIX
static final java.lang.String PREFIX
Tenant Writer prefix.- See Also:
- Constant Field Values
-
-