Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.internal | |
org.jooby.internal.mvc |
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 |
Jooby.Module.configure(Env env,
com.typesafe.config.Config conf,
com.google.inject.Binder binder)
Configure and produces bindings for the underlying application.
|
void |
FlashScope.configure(Env env,
com.typesafe.config.Config conf,
com.google.inject.Binder binder) |
Modifier and Type | Method and Description |
---|---|
void |
ServerLookup.configure(Env env,
com.typesafe.config.Config config,
com.google.inject.Binder binder) |
Constructor and Description |
---|
RouteMetadata(Env env) |
Modifier and Type | Method and Description |
---|---|
static List<Route.Definition> |
MvcRoutes.routes(Env env,
RouteMetadata classInfo,
String rpath,
boolean caseSensitiveRouting,
Class<?> routeClass) |
Copyright © 2017. All rights reserved.