!htp #17965 more consistent and 22-ified javadsl handleWith
This commit is contained in:
parent
b137117399
commit
569c0bf079
27 changed files with 339 additions and 272 deletions
|
|
@ -44,7 +44,7 @@ public class PathDirectiveExampleTest extends JUnitRouteTest {
|
|||
Handler1<Integer> completeWithUserId =
|
||||
new Handler1<Integer>() {
|
||||
@Override
|
||||
public RouteResult handle(RequestContext ctx, Integer userId) {
|
||||
public RouteResult apply(RequestContext ctx, Integer userId) {
|
||||
return ctx.complete("Hello user " + userId);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue