I am looking among the standard libraries (like apache commons, jax, jboss, javax) for an interface or enum that lists the values of all the standard mime-type (aka content-
If you are using Spring Framework then there is a MediaType class for common content types:
MediaType.TEXT_HTML MediaType.TEXT_PLAIN MediaType.TEXT_XML MediaType.APPLICATION_JSON MediaType.IMAGE_JPEG ...