Package | Description |
---|---|
org.jooby |
do more, more easily
|
Modifier and Type | Method and Description |
---|---|
Route.OneArgHandler |
Router.promise(Deferred.Initializer initializer)
Produces a deferred response, useful for async request processing.
|
Route.OneArgHandler |
Jooby.promise(Deferred.Initializer initializer) |
Route.OneArgHandler |
Router.promise(Deferred.Initializer0 initializer)
Produces a deferred response, useful for async request processing.
|
Route.OneArgHandler |
Jooby.promise(Deferred.Initializer0 initializer) |
Route.OneArgHandler |
Router.promise(String executor,
Deferred.Initializer initializer)
Produces a deferred response, useful for async request processing.
|
Route.OneArgHandler |
Jooby.promise(String executor,
Deferred.Initializer initializer) |
Route.OneArgHandler |
Router.promise(String executor,
Deferred.Initializer0 initializer)
Produces a deferred response, useful for async request processing.
|
Route.OneArgHandler |
Jooby.promise(String executor,
Deferred.Initializer0 initializer) |
Modifier and Type | Method and Description |
---|---|
Route.Group |
Route.Group.all(Route.OneArgHandler handler)
Deprecated.
|
Route.Group |
Route.Group.all(String pattern,
Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Router.connect(String path,
Route.OneArgHandler handler)
Append route that supports HTTP CONNECT method:
|
Route.Definition |
Jooby.connect(String path,
Route.OneArgHandler handler) |
default Route.ZeroArgHandler |
Router.deferred(Route.OneArgHandler handler)
Functional version of
Router.promise(org.jooby.Deferred.Initializer) . |
static Deferred |
Deferred.deferred(Route.OneArgHandler handler)
Functional version of
Deferred.Deferred(Initializer) . |
default Route.ZeroArgHandler |
Router.deferred(String executor,
Route.OneArgHandler handler)
Functional version of
Router.promise(org.jooby.Deferred.Initializer) . |
static Deferred |
Deferred.deferred(String executor,
Route.OneArgHandler handler)
Functional version of
Deferred.Deferred(Initializer) . |
default Route.Definition |
Router.delete(Route.OneArgHandler handler)
Append route that supports HTTP DELETE method:
|
Route.Group |
Route.Group.delete(Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Router.delete(String path,
Route.OneArgHandler handler)
Append route that supports HTTP DELETE method:
|
Route.Group |
Route.Group.delete(String pattern,
Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Jooby.delete(String path,
Route.OneArgHandler handler) |
Route.Collection |
Router.delete(String path1,
String path2,
Route.OneArgHandler handler)
Append three routes that supports HTTP DELETE method on the same handler:
|
Route.Collection |
Jooby.delete(String path1,
String path2,
Route.OneArgHandler handler) |
Route.Collection |
Router.delete(String path1,
String path2,
String path3,
Route.OneArgHandler handler)
Append three routes that supports HTTP DELETE method on the same handler:
|
Route.Collection |
Jooby.delete(String path1,
String path2,
String path3,
Route.OneArgHandler handler) |
default Route.Definition |
Router.get(Route.OneArgHandler handler)
Append route that matches the HTTP GET method:
|
Route.Group |
Route.Group.get(Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Router.get(String path,
Route.OneArgHandler handler)
Append route that matches the HTTP GET method:
|
Route.Group |
Route.Group.get(String pattern,
Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Jooby.get(String path,
Route.OneArgHandler handler) |
Route.Collection |
Router.get(String path1,
String path2,
Route.OneArgHandler handler)
Append three routes that matches the HTTP GET method on the same handler:
|
Route.Collection |
Jooby.get(String path1,
String path2,
Route.OneArgHandler handler) |
Route.Collection |
Router.get(String path1,
String path2,
String path3,
Route.OneArgHandler handler)
Append three routes that matches the HTTP GET method on the same handler:
|
Route.Collection |
Jooby.get(String path1,
String path2,
String path3,
Route.OneArgHandler handler) |
Route.Definition |
Router.head(String path,
Route.OneArgHandler handler)
Append route that supports HTTP HEAD method:
|
Route.Definition |
Jooby.head(String path,
Route.OneArgHandler handler) |
Route.Definition |
Router.options(String path,
Route.OneArgHandler handler)
Append route that supports HTTP OPTIONS method:
|
Route.Definition |
Jooby.options(String path,
Route.OneArgHandler handler) |
default Route.Definition |
Router.patch(Route.OneArgHandler handler)
Append route that supports HTTP PATCH method:
|
Route.Group |
Route.Group.patch(Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Router.patch(String path,
Route.OneArgHandler handler)
Append route that supports HTTP PATCH method:
|
Route.Group |
Route.Group.patch(String pattern,
Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Jooby.patch(String path,
Route.OneArgHandler handler) |
Route.Collection |
Router.patch(String path1,
String path2,
Route.OneArgHandler handler)
Append three routes that supports HTTP PATCH method on the same handler:
|
Route.Collection |
Jooby.patch(String path1,
String path2,
Route.OneArgHandler handler) |
Route.Collection |
Router.patch(String path1,
String path2,
String path3,
Route.OneArgHandler handler)
Append three routes that supports HTTP PATCH method on the same handler:
|
Route.Collection |
Jooby.patch(String path1,
String path2,
String path3,
Route.OneArgHandler handler) |
default Route.Definition |
Router.post(Route.OneArgHandler handler)
Append route that supports HTTP POST method:
|
Route.Group |
Route.Group.post(Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Router.post(String path,
Route.OneArgHandler handler)
Append route that supports HTTP POST method:
|
Route.Group |
Route.Group.post(String pattern,
Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Jooby.post(String path,
Route.OneArgHandler handler) |
Route.Collection |
Router.post(String path1,
String path2,
Route.OneArgHandler handler)
Append three routes that supports HTTP POST method on the same handler:
|
Route.Collection |
Jooby.post(String path1,
String path2,
Route.OneArgHandler handler) |
Route.Collection |
Router.post(String path1,
String path2,
String path3,
Route.OneArgHandler handler)
Append three routes that supports HTTP POST method on the same handler:
|
Route.Collection |
Jooby.post(String path1,
String path2,
String path3,
Route.OneArgHandler handler) |
default Route.Definition |
Router.put(Route.OneArgHandler handler)
Append route that supports HTTP PUT method:
|
Route.Group |
Route.Group.put(Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Router.put(String path,
Route.OneArgHandler handler)
Append route that supports HTTP PUT method:
|
Route.Group |
Route.Group.put(String pattern,
Route.OneArgHandler handler)
Deprecated.
|
Route.Definition |
Jooby.put(String path,
Route.OneArgHandler handler) |
Route.Collection |
Router.put(String path1,
String path2,
Route.OneArgHandler handler)
Append three routes that supports HTTP PUT method on the same handler:
|
Route.Collection |
Jooby.put(String path1,
String path2,
Route.OneArgHandler handler) |
Route.Collection |
Router.put(String path1,
String path2,
String path3,
Route.OneArgHandler handler)
Append three routes that supports HTTP PUT method on the same handler:
|
Route.Collection |
Jooby.put(String path1,
String path2,
String path3,
Route.OneArgHandler handler) |
Route.Definition |
Router.trace(String path,
Route.OneArgHandler handler)
Append route that supports HTTP TRACE method:
|
Route.Definition |
Jooby.trace(String path,
Route.OneArgHandler handler) |
Route.Definition |
Router.use(String path,
Route.OneArgHandler handler)
Append a new route handler that matches any method under the given path.
|
Route.Definition |
Jooby.use(String path,
Route.OneArgHandler handler) |
Constructor and Description |
---|
Definition(String verb,
String pattern,
Route.OneArgHandler handler)
Creates a new route definition.
|
Copyright © 2017. All rights reserved.