fix routes example for java
update docu for referer via URL parameter feature