You can use an Enum and implement some interface.

enum RestMimeTypes implements IRestMimeType {
}

interface IRestMimeType {
  String asString();
}

This way anybody can put his own mimeTypes into the mix and you have some type to deal with instead of string const.