class ConsumedThing extends Thing<ConsumedThingProperty<Object>, ConsumedThingAction<Object, Object>, ConsumedThingEvent<Object>> {

    public static Form handleUriVariables(Form form, Map<String, Object> parameters) {
        String href = form.getHref();
        UriTemplate uriTemplate = UriTemplate.fromTemplate(href);
        String updatedHref = uriTemplate.expand(parameters);

        if (!href.equals(updatedHref)) {
            // "clone" form to avoid modifying original form
            Form updatedForm = new Form.Builder(form)
                    .setHref(updatedHref)
                    .build();
            log.debug("'{}' update URI to '{}'", href, updatedHref);
            return updatedForm;
        }

        return form;
    }

    public  ConsumedThing(Servient servient, Thing thing);

}