I haven't tested this so please accept my apologies if it doesn't work. You could use the following form of attach()
public Route attach(String pathTemplate,
Class<?> targetClass,
int matchingMode)
and attach your guard with a Template.MODE_STARTS_WITH matchingMode.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2960891

