Skip to content

Deprecate unused web-specific MimeTypeUtils constants [SPR-15137] #19703

Closed

Description

@spring-projects-issues

Juergen Hoeller opened SPR-15137 and commented

MimeTypeUtils has a subset of MediaType's constants but hardly any are actually used. Let's deprecate unused ones and remove them in 5.0 altogether.


Issue Links:

Referenced from: commits 1521094, 7c05b42

Activity

  1. spring-projects-issues commented on Jan 12, 2017

    @spring-projects-issues
    CollaboratorAuthor

    Juergen Hoeller commented

    It looks like we can safely remove MULTIPART_FORM_DATA, APPLICATION_FORM_URLENCODED and the specific XML variants APPLICATION_ATOM_XML} and {{APPLICATION_XHTML_XML in 5.0, leaving those up to the corresponding constants on MediaType (where a much richer selection is available). Let's deprecate those in 4.3.6 then, leaving just 10 basic constants in MimeTypeUtils.

  2. added
    in: core
    type: task
    on Jan 11, 2019
  3. added this to the 4.3.6 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: coretype: task

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions