{
Map<ResourceMethod, RestLiResponseBuilder> result =
new HashMap<ResourceMethod, RestLiResponseBuilder>(ResourceMethod.values().length);
result.put(ResourceMethod.GET, new GetResponseBuilder());
result.put(ResourceMethod.BATCH_GET, new BatchGetResponseBuilder(errorResponseBuilder));
result.put(ResourceMethod.FINDER, new CollectionResponseBuilder());
result.put(ResourceMethod.CREATE, new CreateResponseBuilder());
result.put(ResourceMethod.PARTIAL_UPDATE, new UpdateResponseBuilder());
result.put(ResourceMethod.UPDATE, new UpdateResponseBuilder());
result.put(ResourceMethod.DELETE, new UpdateResponseBuilder());