public ImageResource(String resourceIdentifier) {
super(resourceIdentifier);
ResourceAttributes attributes = getAttributes();
attributes.setTitle("GET an image with different content-types");
attributes.addResourceType("Image");
supported.add(MediaTypeRegistry.IMAGE_PNG);
supported.add(MediaTypeRegistry.IMAGE_JPEG);
for (int ct : supported) {