Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

accept(request) - Method in interface ai.tock.shared.security.RequestFilter
Returns true is the request is accepted, false either.
addAuth(authProvider, pathsToProtect) - Method in class ai.tock.shared.vertx.WebVerticle
 
addConstrainedTypes(types) - Static method in class ai.tock.shared.jackson.ConstrainedValueWrapperKt
Add other constrained types.
addDeserializer($receiver, type, deser) - Static method in class ai.tock.shared.jackson.JacksonKt
Add a deserializer in the SimpleModule.
addDevCorsHandler() - Method in class ai.tock.shared.vertx.WebVerticle
 
addJacksonConverter($receiver, objectMapper) - Static method in class ai.tock.shared.RetrofitsKt
Add jackson converter factory.
addSerializer($receiver, type, ser) - Static method in class ai.tock.shared.jackson.JacksonKt
Add a serializer in the SimpleModule.
ai.tock.shared - package ai.tock.shared
 
ai.tock.shared.cache - package ai.tock.shared.cache
 
ai.tock.shared.jackson - package ai.tock.shared.jackson
 
ai.tock.shared.security - package ai.tock.shared.security
 
ai.tock.shared.security.auth - package ai.tock.shared.security.auth
 
ai.tock.shared.vertx - package ai.tock.shared.vertx
 
AnyValueWrapper - Class in ai.tock.shared.jackson
A jackson wrapper to store class name with dynamic type value. Use with care, as it stores the class name in json.
AnyValueWrapper(klass, value) - Constructor for class ai.tock.shared.jackson.AnyValueWrapper
A jackson wrapper to store class name with dynamic type value. Use with care, as it stores the class name in json.
AnyValueWrapper(klass, value) - Constructor for class ai.tock.shared.jackson.AnyValueWrapper
 
AnyValueWrapper(value) - Constructor for class ai.tock.shared.jackson.AnyValueWrapper
 
AnyValueWrapper.Companion - Class in ai.tock.shared.jackson
 
authProvider() - Method in class ai.tock.shared.vertx.WebVerticle
By default there is no auth provider - ie nothing is protected.

B

badRequest(message) - Method in class ai.tock.shared.vertx.WebVerticle.Companion
 
BadRequestException - Exception in ai.tock.shared.vertx
Http 400 exception.
BadRequestException(message) - Constructor for exception ai.tock.shared.vertx.BadRequestException
Http 400 exception.
basicAuthInterceptor(login, password) - Static method in class ai.tock.shared.RetrofitsKt
Create a basic auth interceptor.
basicCredentialsHeader(login, password) - Static method in class ai.tock.shared.RetrofitsKt
Encode basic credential header.
blocking($receiver, blockingHandler, resultHandler) - Static method in class ai.tock.shared.vertx.VertXsKt
Execute a blocking task (with ordered false).
blocking($receiver, handler) - Static method in class ai.tock.shared.vertx.VertXsKt
Execute a blocking handler on route (with ordered false).
blocking(method, path, role, basePath, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingDelete(path, role, logger, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingGet(path, role, basePath, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingJsonDelete(path, role, logger, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingJsonGet(path, role, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingPost(path, role, logger, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingUploadBinaryPost(path, role, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
blockingUploadPost(path, role, logger, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
bodyHandler() - Method in class ai.tock.shared.vertx.WebVerticle
 
booleanProperty(name, defaultValue) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system Boolean property.
BUILTIN_ENTITY_EVALUATOR_NAMESPACE - Static variable in class ai.tock.shared.NamespacesKt
Built in entity evaluator namespace (for now only duckling).

C

CachesKt - Class in ai.tock.shared.cache
 
changeNamespace($receiver, newNamespace) - Static method in class ai.tock.shared.StringsKt
Replace the current namespace with the new namespace.
checkMaxLengthAllowed(text) - Static method in class ai.tock.shared.StringsKt
Checks that the text has no more than 50000 chars. Else cuts the String.
choose(list) - Method in class ai.tock.shared.Dice
Choose randomly an item in a list.
CollectionsKt - Class in ai.tock.shared
 
Companion - Static variable in class ai.tock.shared.jackson.AnyValueWrapper
 
Companion - Static variable in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
Companion - Static variable in class ai.tock.shared.jackson.JacksonDeserializer
 
Companion - Static variable in enum ai.tock.shared.security.TockUserRole
 
Companion - Static variable in class ai.tock.shared.vertx.WebVerticle
 
component1() - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
component1() - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
component1() - Method in class ai.tock.shared.security.SimpleObfuscator
The search regexp.
component1() - Method in class ai.tock.shared.security.TockUser
 
component2() - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
component2() - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
component2() - Method in class ai.tock.shared.security.SimpleObfuscator
The replacement string
component2() - Method in class ai.tock.shared.security.TockUser
 
component3() - Method in class ai.tock.shared.security.SimpleObfuscator
Used in
component3() - Method in class ai.tock.shared.security.TockUser
 
component4() - Method in class ai.tock.shared.security.SimpleObfuscator
To match the replacement string in
component4() - Method in class ai.tock.shared.security.TockUser
 
concat(s1, s2) - Static method in class ai.tock.shared.StringsKt
Concat two strings and manage intermediate punctuation.
configure() - Method in class ai.tock.shared.vertx.WebVerticle
 
ConstrainedValueWrapper<T> - Class in ai.tock.shared.jackson
A jackson wrapper to store class name with dynamic type value. Only allowed types can be deserialized.
ConstrainedValueWrapper(klass, value) - Constructor for class ai.tock.shared.jackson.ConstrainedValueWrapper
A jackson wrapper to store class name with dynamic type value. Only allowed types can be deserialized.
ConstrainedValueWrapper(klass, value) - Constructor for class ai.tock.shared.jackson.ConstrainedValueWrapper
 
ConstrainedValueWrapper(value) - Constructor for class ai.tock.shared.jackson.ConstrainedValueWrapper
 
ConstrainedValueWrapper.Companion - Class in ai.tock.shared.jackson
 
ConstrainedValueWrapperKt - Class in ai.tock.shared.jackson
 
copy(klass, value) - Method in class ai.tock.shared.jackson.AnyValueWrapper
A jackson wrapper to store class name with dynamic type value. Use with care, as it stores the class name in json.
copy(klass, value) - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
A jackson wrapper to store class name with dynamic type value. Only allowed types can be deserialized.
copy(regex, replacement, displayed, replacementRegexp) - Method in class ai.tock.shared.security.SimpleObfuscator
Simple implementation for interface StringObfuscator.
copy(user, namespace, roles, registered) - Method in class ai.tock.shared.security.TockUser
Tock implementation of vertx User.
corsHandler(origin, allowCredentials, allowedMethods, allowedHeaders) - Method in class ai.tock.shared.vertx.WebVerticle
 
createRequestFilter(allowedIps, xAuthToken) - Static method in class ai.tock.shared.security.RequestFilterKt
 

D

DatesKt - Class in ai.tock.shared
 
debug($receiver, throwable) - Static method in class ai.tock.shared.LoggersKt
Logs a Throwable.
decrypt(s) - Static method in class ai.tock.shared.security.EncryptorsKt
Decrypt a string and return the result.
DEFAULT_APP_NAMESPACE - Static variable in class ai.tock.shared.NamespacesKt
The default app namespace.
defaultAuthProvider() - Method in class ai.tock.shared.vertx.WebVerticle
The auth provider provided by default.
defaultHealthcheck() - Method in class ai.tock.shared.vertx.WebVerticle
Provide basic health information: mainly through HTTP status code
defaultRole() - Method in class ai.tock.shared.vertx.WebVerticle
The default role of a service.
deregisterObfuscators() - Method in class ai.tock.shared.security.TockObfuscatorService
Remove all current stringObfuscators.
detailedHealthcheck(tasks, selfCheck) - Static method in class ai.tock.shared.vertx.DetailedHealthcheckKt
Return an HTTP handler which calls lambdas and construct the HTTP response
detailedHealthcheck() - Method in class ai.tock.shared.vertx.WebVerticle
Provide enhanced information: HTTP response has JSON body with health status of resources
DetailedHealthcheckKt - Class in ai.tock.shared.vertx
 
Dice - Class in ai.tock.shared
Manage random things.
doIsPermitted(permissionOrRole, handler) - Method in class ai.tock.shared.security.TockUser
 

E

encrypt(s) - Static method in class ai.tock.shared.security.EncryptorsKt
Encrypt a string and return the result.
EncryptorsKt - Class in ai.tock.shared.security
 
endJson($receiver, success) - Method in class ai.tock.shared.vertx.WebVerticle
 
endJson($receiver, result) - Method in class ai.tock.shared.vertx.WebVerticle
 
endJson($receiver, result) - Method in class ai.tock.shared.vertx.WebVerticle
 
equals(p) - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
equals(p) - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
equals(p) - Method in class ai.tock.shared.security.SimpleObfuscator
 
equals(p) - Method in class ai.tock.shared.security.TockUser
 
error($receiver, throwable) - Static method in class ai.tock.shared.LoggersKt
Logs a Throwable.
excludedPaths($this, verticle) - Static method in class ai.tock.shared.security.auth.TockAuthProvider.DefaultImpls
Paths to exclude from the AuthProvider.
excludedPaths(verticle) - Method in interface ai.tock.shared.security.auth.TockAuthProvider
Paths to exclude from the AuthProvider.
executeBlocking(delay, runnable) - Method in interface ai.tock.shared.Executor
Execute a task to another thread.
executeBlocking(runnable) - Method in interface ai.tock.shared.Executor
Execute a task to another thread.
executeBlocking(blocking, result) - Method in interface ai.tock.shared.Executor
Execute a task to another thread. If an exception is thrown by the blocking function, null is passed to the result function.
executeBlocking($receiver, handler) - Method in class ai.tock.shared.vertx.WebVerticle
Execute blocking code using Vertx.executeBlocking.
Executor - Interface in ai.tock.shared
Manage async tasks.
Executor.DefaultImpls - Class in ai.tock.shared
Manage async tasks.

F

fieldNameWithValueReady($receiver) - Static method in class ai.tock.shared.jackson.JacksonKt
Return the current field name, with the value ready to read.
firstQueryParam($receiver, name) - Method in class ai.tock.shared.vertx.WebVerticle
 

G

getAsyncDatabase(databaseNameProperty) - Static method in class ai.tock.shared.MongosKt
Return the async database specified in the databaseNameProperty. if the env or system property is not found, use the databaseNameProperty as database name (remove "_mongo_db" string is present).
getAuthenticatePath() - Method in class ai.tock.shared.vertx.WebVerticle
 
getBasePath() - Method in class ai.tock.shared.vertx.WebVerticle
 
getCachedValuesForType(type) - Static method in class ai.tock.shared.cache.CachesKt
Returns all cached value for specified type.
getCode() - Method in exception ai.tock.shared.vertx.RestException
 
getDatabase(databaseNameProperty) - Static method in class ai.tock.shared.MongosKt
Return the sync database specified in the databaseNameProperty. if the env or system property is not found, use the databaseNameProperty as database name (remove "_mongo_db" string is present).
getDefaultLocale() - Static method in class ai.tock.shared.LocalesKt
The default Tock Locale. Use property "tock_default_locale" and default value "en".
getDefaultNamespace() - Static method in class ai.tock.shared.NamespacesKt
The Tock app namespace.
getDefaultPort() - Method in class ai.tock.shared.vertx.WebVerticle
The default port of the verticle
getDefaultRequestLogger() - Method in class ai.tock.shared.vertx.WebVerticle.Companion
Default request logger does nothing.
getDefaultVertxOptions() - Static method in class ai.tock.shared.vertx.VertXsKt
default vert.x options in Tock.
getDefaultZoneId() - Static method in class ai.tock.shared.DatesKt
The default ZoneId used by Tock.
getDevEnvironment() - Static method in class ai.tock.shared.PropertiesKt
Return true is the current environment is a dev environment. Use "tock_env" property to know the environment - if not set or if the value is "dev", this is a dev environment.
getDisplayed() - Method in class ai.tock.shared.security.SimpleObfuscator
Used in
getDisplayed() - Method in interface ai.tock.shared.security.StringObfuscator
Used in StringObfuscatorMode.display mode.
getEncryptionEnabled() - Static method in class ai.tock.shared.security.EncryptorsKt
Is encryption enabled?
getFromCache(id, type) - Static method in class ai.tock.shared.cache.CachesKt
Returns the value for specified id and type. If no value exists, null is returned.
getHealthcheckPath() - Method in class ai.tock.shared.vertx.WebVerticle
If not null, add a healthcheck for this verticle.
getInjector() - Static method in class ai.tock.shared.IOCsKt
Main Tock injector.
getInternalDefaultZoneId() - Static method in class ai.tock.shared.DatesKt
The internal defaultZoneId for Tock - var only for tests. property "tock_default_zone" with default value UTC is used.
getKlass() - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
getKlass() - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
getLogger() - Method in class ai.tock.shared.vertx.WebVerticle
 
getLogoutPath() - Method in class ai.tock.shared.vertx.WebVerticle
 
getMapper() - Static method in class ai.tock.shared.jackson.JacksonKt
The Tock jackson mapper.
getNamespace() - Method in class ai.tock.shared.security.TockUser
 
getOrCache(id, type, valueProvider) - Static method in class ai.tock.shared.cache.CachesKt
Returns the value for specified id and type. If no value exists, valueProvider provides the value to cache. If valueProvider throws exception or returns null, no value is cached and null is returned.
getOrganization($receiver) - Method in class ai.tock.shared.vertx.WebVerticle
 
getRegex() - Method in class ai.tock.shared.security.SimpleObfuscator
The search regexp.
getRegex() - Method in interface ai.tock.shared.security.StringObfuscator
The search regexp.
getRegistered() - Method in class ai.tock.shared.security.TockUser
 
getReplacement() - Method in class ai.tock.shared.security.SimpleObfuscator
The replacement string
getReplacement() - Method in interface ai.tock.shared.security.StringObfuscator
The replacement string - should have the same size than the replaced string.
getReplacementRegexp() - Method in class ai.tock.shared.security.SimpleObfuscator
To match the replacement string in
getReplacementRegexp() - Method in interface ai.tock.shared.security.StringObfuscator
To match the replacement string in StringObfuscatorMode.display mode.
getRoles() - Method in class ai.tock.shared.security.TockUser
 
getRootPath() - Method in class ai.tock.shared.vertx.WebVerticle
 
getRouter() - Method in class ai.tock.shared.vertx.WebVerticle
 
getServer() - Method in class ai.tock.shared.vertx.WebVerticle
 
getSessionCookieName($this) - Static method in class ai.tock.shared.security.auth.TockAuthProvider.DefaultImpls
The tock session cookie name.
getSessionCookieName() - Method in interface ai.tock.shared.security.auth.TockAuthProvider
The tock session cookie name.
getSharedModule() - Static method in class ai.tock.shared.IOCsKt
IOC of shared module.
getSupportedLanguages() - Static method in class ai.tock.shared.LocalesKt
The languages supported by Tock.
getTockAppDefaultNamespace() - Static method in class ai.tock.shared.NamespacesKt
The internal app namespace - var only for tests. Use property "tock_default_namespace" and as default value DEFAULT_APP_NAMESPACE.
getTockInternalInjector() - Static method in class ai.tock.shared.IOCsKt
Internal injector - reset only for tests.
getUser() - Method in class ai.tock.shared.security.TockUser
 
getUser($receiver) - Method in class ai.tock.shared.vertx.WebVerticle
 
getUserLogin($receiver) - Method in class ai.tock.shared.vertx.WebVerticle
 
getValue() - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
getValue() - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
getVertx() - Static method in class ai.tock.shared.vertx.VertXsKt
The Tock Vertx entry point instance.

H

hashCode() - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
hashCode() - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
hashCode() - Method in class ai.tock.shared.security.SimpleObfuscator
 
hashCode() - Method in class ai.tock.shared.security.TockUser
 
healthcheck() - Method in class ai.tock.shared.vertx.WebVerticle
 

I

index(col) - Method in class ai.tock.shared.Dice
Return a random index in a Collection.
info($receiver, throwable) - Static method in class ai.tock.shared.LoggersKt
Logs a Throwable.
initEncryptor() - Static method in class ai.tock.shared.security.EncryptorsKt
Init encryption utilities.
INSTANCE - Static variable in class ai.tock.shared.Dice
Manage random things.
INSTANCE - Static variable in class ai.tock.shared.jackson.JacksonDeserializer.EmptyJson
 
INSTANCE - Static variable in class ai.tock.shared.Loader
Helper methods to deal with ServiceLoader.
INSTANCE - Static variable in class ai.tock.shared.security.TockObfuscatorService
To manage obfuscations.
intProperty(name, defaultValue) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system Int property.
IOCsKt - Class in ai.tock.shared
 
IOsKt - Class in ai.tock.shared
 
isAuthorized($receiver, role, resultHandler) - Method in class ai.tock.shared.vertx.WebVerticle
 

J

JacksonDeserializer<T> - Class in ai.tock.shared.jackson
Convenient base class for jackson JsonDeserializer.
JacksonDeserializer() - Constructor for class ai.tock.shared.jackson.JacksonDeserializer
Convenient base class for jackson JsonDeserializer.
JacksonDeserializer.Companion - Class in ai.tock.shared.jackson
 
JacksonDeserializer.EmptyJson - Class in ai.tock.shared.jackson
 
JacksonKt - Class in ai.tock.shared.jackson
 

L

Level - Enum in ai.tock.shared
Http requests/response log level.
listProperty(name, defaultValue, separator) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system List property.
Loader - Class in ai.tock.shared
Helper methods to deal with ServiceLoader.
loadProperties(fileInClasspath) - Static method in class ai.tock.shared.PropertiesKt
Load a Properties for classpath.
LocalesKt - Class in ai.tock.shared
 
log(context, data, error) - Method in interface ai.tock.shared.vertx.RequestLogger
Log a request.
LoggersKt - Class in ai.tock.shared
 
longProperty(name, defaultValue) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system Long property.

M

mapListProperty(name, defaultValue, entrySeparator, keyValueSeparator, listSeparator) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system Map of List property.
mapNotNullValues(pairs) - Static method in class ai.tock.shared.CollectionsKt
Return a map with only not null values.
mapNotNullValues($receiver, transform) - Static method in class ai.tock.shared.CollectionsKt
Map not null values of the Pair results of the specified transformation.
mapProperty(name, defaultValue, entrySeparator, keyValueSeparator) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system Map property.
MongosKt - Class in ai.tock.shared
 

N

name($receiver) - Static method in class ai.tock.shared.StringsKt
Extract a name from a qualified name (ie namespace:name).
namespace($receiver) - Static method in class ai.tock.shared.StringsKt
Extract a namespace from a qualified name (ie namespace:name).
namespaceAndName($receiver) - Static method in class ai.tock.shared.StringsKt
Extract namespace and name from a qualified name (ie namespace:name).
NamespacesKt - Class in ai.tock.shared
 
newId() - Method in class ai.tock.shared.Dice
Return a new random Id.
newInt(max) - Method in class ai.tock.shared.Dice
Return a random int between 0 and max (excluded).
notFound() - Method in class ai.tock.shared.vertx.WebVerticle.Companion
 
NotFoundException - Exception in ai.tock.shared.vertx
Http 404 exception.
NotFoundException() - Constructor for exception ai.tock.shared.vertx.NotFoundException
Http 404 exception.

O

obfuscate(parameters) - Method in interface ai.tock.shared.security.ParameterObfuscator
Obfuscate the parameter.
obfuscate($this, text, mode) - Static method in class ai.tock.shared.security.StringObfuscator.DefaultImpls
Obfuscate the parameter.
obfuscate(text, mode) - Method in interface ai.tock.shared.security.StringObfuscator
Obfuscate the parameter.
obfuscate(texts) - Method in class ai.tock.shared.security.TockObfuscatorService
 
obfuscate(text, mode) - Method in class ai.tock.shared.security.TockObfuscatorService
 
obfuscate(parameters) - Method in class ai.tock.shared.security.TockObfuscatorService
 
ObfuscatorService - Interface in ai.tock.shared.security
To load obfuscators via service loaders.

P

ParameterObfuscator - Interface in ai.tock.shared.security
 
parameterObfuscators() - Method in interface ai.tock.shared.security.ObfuscatorService
Returns the parameter obfuscators to register.
path($receiver, name) - Method in class ai.tock.shared.vertx.WebVerticle
 
pathId($receiver, name) - Method in class ai.tock.shared.vertx.WebVerticle
 
pathToLocale($receiver, name) - Method in class ai.tock.shared.vertx.WebVerticle
 
pingMongoDatabase(database) - Static method in class ai.tock.shared.MongosKt
 
principal() - Method in class ai.tock.shared.security.TockUser
 
PropertiesKt - Class in ai.tock.shared
 
property(name, defaultValue) - Static method in class ai.tock.shared.PropertiesKt
Return an env or system String property.
propertyExists(name) - Static method in class ai.tock.shared.PropertiesKt
Is this env or system property exists?
protectedPath() - Method in class ai.tock.shared.vertx.WebVerticle
Deprecated. 
protectedPaths() - Method in class ai.tock.shared.vertx.WebVerticle
 
protectPaths(verticle, pathsToProtect, sessionHandler) - Method in interface ai.tock.shared.security.auth.TockAuthProvider
Protect paths for the specified verticle.
putInCache(id, type, value) - Static method in class ai.tock.shared.cache.CachesKt
Adds in cache the specified value.

Q

queryId($receiver, name) - Method in class ai.tock.shared.vertx.WebVerticle
 

R

readBytes(upload) - Method in class ai.tock.shared.vertx.WebVerticle
 
readString(upload) - Method in class ai.tock.shared.vertx.WebVerticle
 
readUnknownValue($receiver) - Method in class ai.tock.shared.jackson.JacksonDeserializer
 
register(method, path, role, basePath, handler) - Method in class ai.tock.shared.vertx.WebVerticle
 
registerParameterObfuscator(newObfuscators) - Method in class ai.tock.shared.security.TockObfuscatorService
Register parameters stringObfuscators.
registerStringObfuscator(newObfuscators) - Method in class ai.tock.shared.security.TockObfuscatorService
Register string stringObfuscators.
registerUser(user, joinNamespace) - Method in interface ai.tock.shared.security.TockUserListener
Try to register a tock user, and returns the registered user.
removeFromCache(id, type) - Static method in class ai.tock.shared.cache.CachesKt
Remove the value for specified id and type from cache.
RequestFilter - Interface in ai.tock.shared.security
A request filter is used to filter an incoming request.
RequestFilterKt - Class in ai.tock.shared.security
 
RequestLogger - Interface in ai.tock.shared.vertx
A simple request logger.
resource(path) - Static method in class ai.tock.shared.IOsKt
Get a resource url from the classpath.
resourceAsStream(path) - Static method in class ai.tock.shared.IOsKt
Get a resource InputStream from the classpath.
resourceAsString(path) - Static method in class ai.tock.shared.IOsKt
Get a text content of a resource from the classpath.
RestException - Exception in ai.tock.shared.vertx
Base class for rest exceptions.
RestException(message, code) - Constructor for exception ai.tock.shared.vertx.RestException
Base class for rest exceptions.
retrofitBuilderWithTimeoutAndLogger(ms, logger, level, interceptors, requestGZipEncoding, circuitBreaker, proxy) - Static method in class ai.tock.shared.RetrofitsKt
Init a Retrofit.Builder with specified timeout, logger and interceptors.
RetrofitsKt - Class in ai.tock.shared
 

S

setAuthProvider(authProvider) - Method in class ai.tock.shared.security.TockUser
 
setDefaultVertxOptions(p) - Static method in class ai.tock.shared.vertx.VertXsKt
default vert.x options in Tock.
setInternalDefaultZoneId(p) - Static method in class ai.tock.shared.DatesKt
The internal defaultZoneId for Tock - var only for tests. property "tock_default_zone" with default value UTC is used.
setPeriodic($this, delay, runnable) - Static method in class ai.tock.shared.Executor.DefaultImpls
Execute a periodic task.
setPeriodic(delay, runnable) - Method in interface ai.tock.shared.Executor
Execute a periodic task.
setPeriodic(initialDelay, delay, runnable) - Method in interface ai.tock.shared.Executor
Execute a periodic task.
setTockAppDefaultNamespace(p) - Static method in class ai.tock.shared.NamespacesKt
The internal app namespace - var only for tests. Use property "tock_default_namespace" and as default value DEFAULT_APP_NAMESPACE.
setTockInternalInjector(p) - Static method in class ai.tock.shared.IOCsKt
Internal injector - reset only for tests.
SimpleObfuscator - Class in ai.tock.shared.security
Simple implementation for interface StringObfuscator.
SimpleObfuscator(regex, replacement, displayed, replacementRegexp) - Constructor for class ai.tock.shared.security.SimpleObfuscator
Simple implementation for interface StringObfuscator.
start(promise) - Method in class ai.tock.shared.vertx.WebVerticle
 
startServer(promise) - Method in class ai.tock.shared.vertx.WebVerticle
 
startServer(promise, port) - Method in class ai.tock.shared.vertx.WebVerticle
 
stop(stopFuture) - Method in class ai.tock.shared.vertx.WebVerticle
 
StringObfuscator - Interface in ai.tock.shared.security
Replaces a string by an other String.
StringObfuscator.DefaultImpls - Class in ai.tock.shared.security
Replaces a string by an other String.
StringObfuscatorMode - Enum in ai.tock.shared.security
Modes of string obfuscation.
stringObfuscators() - Method in interface ai.tock.shared.security.ObfuscatorService
Returns the string obfuscators to register.
StringsKt - Class in ai.tock.shared
 
success($receiver) - Method in class ai.tock.shared.vertx.WebVerticle
 
sumByLong($receiver, selector) - Static method in class ai.tock.shared.CollectionsKt
Returns the sum of all values produced by selector function applied to each element in the collection.

T

ThreadSafe - Annotation Type in ai.tock.shared
A class annotated with annotationclass ThreadSafe is supposed to be thread safe (surprisingly).
TOCK_NAMESPACE - Static variable in class ai.tock.shared.NamespacesKt
The Tock namespace.
TockAuthProvider - Interface in ai.tock.shared.security.auth
Base interface for AuthProvider in Tock framework.
TockAuthProvider.DefaultImpls - Class in ai.tock.shared.security.auth
Base interface for AuthProvider in Tock framework.
TockObfuscatorService - Class in ai.tock.shared.security
To manage obfuscations.
TockUser - Class in ai.tock.shared.security
Tock implementation of vertx User.
TockUser(user, namespace, roles, registered) - Constructor for class ai.tock.shared.security.TockUser
Tock implementation of vertx User.
TockUserListener - Interface in ai.tock.shared.security
Tock user admin listener.
TockUserRole - Enum in ai.tock.shared.security
The user roles for class TockUser.
TockUserRole.Companion - Class in ai.tock.shared.security
 
tokenAuthenticationInterceptor(token) - Static method in class ai.tock.shared.RetrofitsKt
Create a token authentication interceptor.
toList($receiver) - Static method in class ai.tock.shared.CollectionsKt
Extract a List from an Iterator.
toRole(role) - Method in class ai.tock.shared.security.TockUserRole.Companion
 
toSet($receiver) - Static method in class ai.tock.shared.CollectionsKt
Extract a Set from an Enumeration.
toString() - Method in class ai.tock.shared.jackson.AnyValueWrapper
 
toString() - Method in class ai.tock.shared.jackson.ConstrainedValueWrapper
 
toString() - Method in class ai.tock.shared.security.SimpleObfuscator
 
toString() - Method in class ai.tock.shared.security.TockUser
 
toTockUser($this, context) - Static method in class ai.tock.shared.security.auth.TockAuthProvider.DefaultImpls
Gets a class TockUser from current vert.x state.
toTockUser(context) - Method in interface ai.tock.shared.security.auth.TockAuthProvider
Gets a class TockUser from current vert.x state.
trace($receiver, throwable) - Static method in class ai.tock.shared.LoggersKt
Logs a Throwable.
tryToFindLocalIp() - Static method in class ai.tock.shared.RetrofitsKt
Best attempt to guess local ip.

U

unauthorized() - Method in class ai.tock.shared.vertx.WebVerticle.Companion
 
UnauthorizedException - Exception in ai.tock.shared.vertx
Http 401 exception.
UnauthorizedException() - Constructor for exception ai.tock.shared.vertx.UnauthorizedException
Http 401 exception.
UNKNOWN_USER_LOGIN - Static variable in class ai.tock.shared.security.UserLoginKt
 
UserLoginKt - Class in ai.tock.shared.security
 

V

verticleBooleanProperty(propertyName, defaultValue) - Method in class ai.tock.shared.vertx.WebVerticle
 
verticleIntProperty(propertyName, defaultValue) - Method in class ai.tock.shared.vertx.WebVerticle
 
verticleLongProperty(propertyName, defaultValue) - Method in class ai.tock.shared.vertx.WebVerticle
 
verticleProperty(propertyName, defaultValue) - Method in class ai.tock.shared.vertx.WebVerticle
 
VertXsKt - Class in ai.tock.shared.vertx
 

W

warn($receiver, throwable) - Static method in class ai.tock.shared.LoggersKt
Logs a Throwable.
WebVerticle - Class in ai.tock.shared.vertx
Base class for web Tock io.vertx.core.Verticles. Provides utility methods.
WebVerticle() - Constructor for class ai.tock.shared.vertx.WebVerticle
Base class for web Tock io.vertx.core.Verticles. Provides utility methods.
WebVerticle.Companion - Class in ai.tock.shared.vertx
 
withNamespace($receiver, namespace) - Static method in class ai.tock.shared.StringsKt
Add the specified namespace to a name if the name does not contains yet a namespace, and return the result.
withoutNamespace($receiver, namespace) - Static method in class ai.tock.shared.StringsKt
Remove the specified namespace from a qualified name if this qualified name contains the namespace, and return the result.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links