jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Link.fromResource(Class<?> resource, String rel)

From: Jan Algermissen <jan.algermissen_at_nordsc.com>
Date: Wed, 17 Oct 2012 20:13:21 +0200

Hi,

what about adding


  fromResource(Class<?> resource, String rel)

to Link?

It is IMHO not uncommon to have resource classes without sub resource methods.

As it stands, there seems to be no way to use Link.fromXX to 'point' to such resource classes?

Is that intentional? By accident? or am I missing something?

Jan