RestfulMediaType

Media types including the profile parameter.

Because these values are used in the @Produces annotation on the jax-rs resources, they must be constants and must be strings.

API

RestfulMediaType.java
class RestfulMediaType {
  public static final String APPLICATION_JSON_HOME_PAGE;
  public static final String APPLICATION_JSON_USER;
  public static final String APPLICATION_JSON_VERSION;
  public static final String APPLICATION_JSON_HEALTH;
  public static final String APPLICATION_JSON_LIST;
  public static final String APPLICATION_JSON_OBJECT;
  public static final String APPLICATION_JSON_OBJECT_PROPERTY;
  public static final String APPLICATION_JSON_OBJECT_COLLECTION;
  public static final String APPLICATION_JSON_OBJECT_ACTION;
  public static final String APPLICATION_JSON_ACTION_RESULT;
  public static final String APPLICATION_JSON_TYPE_LIST;
  public static final String APPLICATION_JSON_DOMAIN_TYPE;
  public static final String APPLICATION_JSON_PROPERTY_DESCRIPTION;
  public static final String APPLICATION_JSON_COLLECTION_DESCRIPTION;
  public static final String APPLICATION_JSON_ACTION_DESCRIPTION;
  public static final String APPLICATION_JSON_ACTION_PARAMETER_DESCRIPTION;
  public static final String APPLICATION_JSON_ERROR;
  public static final String APPLICATION_JSON_TYPE_ACTION_RESULT;
  public static final String APPLICATION_XML_LAYOUT_BS;
  public static final String APPLICATION_JSON_LAYOUT_BS;
  public static final String APPLICATION_XML_OBJECT_LAYOUT_BS;
  public static final String APPLICATION_JSON_OBJECT_LAYOUT_BS;
  public static final String APPLICATION_JSON_LAYOUT_MENUBARS;
  public static final String APPLICATION_XML_LAYOUT_MENUBARS;
  public static final String APPLICATION_XML_OBJECT;
  public static final String APPLICATION_XML_OBJECT_PROPERTY;
  public static final String APPLICATION_XML_OBJECT_COLLECTION;
  public static final String APPLICATION_XML_OBJECT_ACTION;
  public static final String APPLICATION_XML_ACTION_RESULT;
  public static final String APPLICATION_XML_ERROR;
  public static final String IMAGE_PNG;
}