public static interface Route.Before
Modifier and Type | Method and Description |
---|---|
void |
apply(Context ctx)
Execute application code before next handler.
|
default Route.Before |
then(Route.Before next)
Chain this filter with next one and produces a new before filter.
|
default Route.Handler |
then(Route.Handler next)
Chain this decorator with a handler and produces a new handler.
|
void apply(@Nonnull Context ctx) throws Exception
ctx
- Web context.Exception
- If something goes wrong.@Nonnull default Route.Before then(@Nonnull Route.Before next)
next
- Next decorator.@Nonnull default Route.Handler then(@Nonnull Route.Handler next)
next
- Next handler.Copyright © 2020. All rights reserved.