Package | Description |
---|---|
org.jooby | |
org.jooby.internal.js |
Modifier and Type | Method and Description |
---|---|
Jooby |
Jooby.env(Env.Builder env)
Set a custom
Env.Builder to use. |
Jooby |
Jooby.err(Err.Handler err)
Setup a route error handler.
|
Jooby |
Jooby.on(Predicate<String> predicate,
Consumer<com.typesafe.config.Config> callback)
Run the given callback if and only if, app runs in the given enviroment.
|
Jooby |
Jooby.on(Predicate<String> predicate,
Runnable callback)
Run the given callback if and only if, app runs in the given enviroment.
|
Jooby |
Jooby.on(String env,
Consumer<com.typesafe.config.Config> callback)
Run the given callback if and only if, app runs in the given enviroment.
|
Jooby |
Jooby.on(String env,
Runnable callback)
Run the given callback if and only if, app runs in the given enviroment.
|
Jooby |
Jooby.on(String env1,
String env2,
String env3,
Runnable callback)
Run the given callback if and only if, app runs in the given enviroment.
|
Jooby |
Jooby.parser(Parser parser)
Register a new param converter.
|
Jooby |
Jooby.renderer(Renderer renderer)
Append a response
Renderer for write HTTP messages. |
Jooby |
Jooby.use(Class<?> routeClass)
Append one or more routes defined in the given class.
|
Jooby |
Jooby.use(com.typesafe.config.Config config)
Set the application configuration object.
|
Jooby |
Jooby.use(Jooby.Module module)
Register a application module.
|
Jooby |
Jooby.use(Jooby app)
Import ALL the direct routes from the given app.
|
Jooby |
Jooby.use(String path,
Jooby app)
Import ALL the direct routes from the given app, under the given path.
|
Modifier and Type | Method and Description |
---|---|
Jooby |
Jooby.use(Jooby app)
Import ALL the direct routes from the given app.
|
Jooby |
Jooby.use(String path,
Jooby app)
Import ALL the direct routes from the given app, under the given path.
|
Modifier and Type | Method and Description |
---|---|
Jooby |
JsJooby.run(File file) |
Jooby |
JsJooby.run(InputStream stream) |
Jooby |
JsJooby.run(Reader reader) |
Copyright © 2015. All rights reserved.