object MultiTenantHandler
- Alphabetic
- By Inheritance
- MultiTenantHandler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(asJava: ext.web.handler.MultiTenantHandler): MultiTenantHandler
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
create(tenantExtractor: (RoutingContext) ⇒ String, contextKey: String): MultiTenantHandler
Create a MultiTenant handler using a custom tenant extraction function.
Create a MultiTenant handler using a custom tenant extraction function. * @param tenantExtractor the function that extracts the tenant id from the request
- contextKey
the custom key to store the tenant id in the context
- returns
the new handler.
-
def
create(tenantExtractor: (RoutingContext) ⇒ String): MultiTenantHandler
Create a MultiTenant handler using a custom tenant extraction function.
Create a MultiTenant handler using a custom tenant extraction function. * @param tenantExtractor the function that extracts the tenant id from the request
- returns
the new handler.
-
def
create(header: String): MultiTenantHandler
Create a MultiTenant handler that will extract the tenant id from a given header name.
Create a MultiTenant handler that will extract the tenant id from a given header name. * @param header the header to lookup (e.g.: "X-Tenant")
- returns
the new handler.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )