Package | Description |
---|---|
org.jooby |
do more, more easily
|
org.jooby.handlers |
Modifier and Type | Method and Description |
---|---|
AssetHandler |
Route.AssetDefinition.filter() |
Modifier and Type | Method and Description |
---|---|
Route.AssetDefinition |
Router.assets(String path,
AssetHandler handler)
Send static files, like
Router.assets(String) but let you specify a custom
AssetHandler . |
Route.AssetDefinition |
Jooby.assets(String path,
AssetHandler handler) |
Modifier and Type | Class and Description |
---|---|
class |
SSIHandler
server side include
|
Modifier and Type | Method and Description |
---|---|
AssetHandler |
AssetHandler.cdn(String cdn) |
AssetHandler |
AssetHandler.etag(boolean etag) |
AssetHandler |
AssetHandler.lastModified(boolean enabled) |
AssetHandler |
AssetHandler.maxAge(Duration maxAge) |
AssetHandler |
AssetHandler.maxAge(long maxAge) |
AssetHandler |
AssetHandler.maxAge(String maxAge)
Parse value as
Duration . |
AssetHandler |
AssetHandler.onMissing(int statusCode)
Indicates what to do when an asset is missing (not resolved).
|
AssetHandler |
AssetHandler.setRoute(Route.AssetDefinition route)
Set the route definition and initialize the handler.
|
Copyright © 2020. All rights reserved.