Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface TenantResolver
Finds the tenant a request belongs to, for
TenantFilter.Methods
public abstract String resolve(HttpServer.Request request)
throws Exception | The tenant of request, or null when it names none. |
Method details
resolve
public abstract String resolve(HttpServer.Request request)
throws ExceptionThe tenant of
request, or null when it names none.Parameters
requestHttpServer.Request- the request
Returns
the tenant identifier
Throws
Exception- when resolving fails