= RestfulMediaType
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

[source,java]
.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;
}
----

