Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-271

Add Default ContentTypes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 4.2-alpha2
    • HttpCore
    • None

    Description

      Currently there are only two defaults provided in the ContentType class. The attached patch creates all of the same ContentTypes found in the javax.ws.rs.core.MediaType class.

      If accepted, these constants should be used in the new fluent API instead of the ContentType class found in that codebase.

      Attachments

        1. ContentType.diff
          4 kB
          Bill Speirs

        Activity

          People

            Unassigned Unassigned
            wspeirs Bill Speirs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: