URI uri = new URI("greetings/1");
ResourceMethod method = ResourceMethod.GET;
RecordTemplate inputRecord = null;
Map<String, String> headers = Collections.emptyMap();
RestResponseDecoder<Greeting> decoder = new EntityResponseDecoder<Greeting>(Greeting.class);
ResourceSpec resourceSpec = new ResourceSpecImpl(EnumSet.of(method),
null,
null,
Long.class,
Greeting.class,
Collections.<String, Object>emptyMap());