@Override public void start() { route() .path("/hello") .mapTo(BooAction.class, "foo1") .bind(); route() .path("/world") .mapTo(BooAction.class, "foo2") .interceptBy(EchoInterceptor.class) .bind(); interceptor(EchoInterceptor.class, i -> i.setPrefixIn("====> ")); // additional interceptor configuration } }