6.10.2 Setting generic properties on routing components
The documentation of the individual routing components describes the parameters supported by those components. Besides what is documented, the system will automatically try to call a setter method on the routing component for any other parameters you specify.
For example, if you would have a look at the API documentation of Restlet's Router class, you would see it has the following setter method:
public void setRetryDelay(long retryDelay)
You can set this parameter as follows:
builder.router(retryDelay: 50) {
[...]
}
In general, most of the commonly useful parameters can be found in Kauri's documentation, so you only need to know this for advanced usage.
Previous