Martin Grigorov-4 wrote
>
> On Thu, Apr 12, 2012 at 7:38 AM, Ahijah <darren.greer@> wrote:
>
> mountResource("/Feed2", new MyResourceReference());
>
> class MyResourceReference extends ResourceReference {
> public IResource getResource() { return new
Thanks for the tip, that definitely sounds like the way to go. Quick
follow-up, how does one mount an AbstractResource within the application.
There doesn't appear to be an Abstract reference class to instantiate using
something like:
mountResource("/Feed2", new ResourceReference(Feed2.class));
I've been working on various implementations of this all day, to try and
output a simple JSON response, as Content-Type: application/json, with
absolutely no luck. My current class is setup as below. However, when
sending a request to the "Feed" URL, it comes back as text/plain, with the
JSON for