Rename media type value class from "content type".

Description

The long-running and much-improved com.globalmentor.net.ContentType class should be renamed to reflect the real name of this thing, "Internet media type", and since we're making so many changes in this version (e.g. JAVA-205, JAVA-207, and ) this is probably the best time to do it. To reflect these extensive changes we might want to change the GlobalMentor base library version to 0.7.0 since many of these are breaking changes. (Note that semantic versioning is more flexible in pre-v1.0.0 releases.)

See also:

  • javax.activation.MimeType

  • com.google.common.net.MediaType (Guava)

  • javax.ws.rs.core.MediaType (JAX-RS)

Environment

None

Activity

Show:
Garret Wilson
November 14, 2020, 10:27 PM

We may want to rename the class to InternetMediaType (although that's a mouthful) because that's it's technical real full name, but more to to avoid confusion with similar libraries such as Google Guava's com.google.common.net.MediaType or the JAX-RS javax.ws.rs.core.MediaType.

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Components

Fix versions

Priority

Critical