Interface RejectedRouteHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RejectedRouteHandler
A handler that is invoked when a ServerBuilder rejects to bind an HttpService at a certain Route. For example, the following code will trigger this handler:

 ServerBuilder sb = Server.builder();
 sb.service("/hello", serviceA);
 sb.service("/hello", serviceB); // Tried to bind at the same path again.
 sb.build();
 
See Also: