Package | Description |
---|---|
org.jooby |
do more, more easily
|
Modifier and Type | Method and Description |
---|---|
default Env |
Env.Builder.build(com.typesafe.config.Config config)
Build a new environment from a
Config object. |
Env |
Env.Builder.build(com.typesafe.config.Config config,
Router router,
Locale locale)
Build a new environment from a
Config object. |
default <T> Env |
Env.set(Class<T> key,
T value)
Add a global object.
|
<T> Env |
Env.set(com.google.inject.Key<T> key,
T value)
Add a global object.
|
Env |
Env.xss(String name,
Function<String,String> escaper)
Set/override a XSS escape function.
|
Modifier and Type | Method and Description |
---|---|
void |
FlashScope.configure(Env env,
com.typesafe.config.Config conf,
com.google.inject.Binder binder) |
void |
Jooby.Module.configure(Env env,
com.typesafe.config.Config conf,
com.google.inject.Binder binder)
Configure and produces bindings for the underlying application.
|
Copyright © 2019. All rights reserved.