Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-867

Overload .consumes to take MediaTypes in addition to Strings

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 1.0.0.M8
    • 1.0.0.M8
    • controller
    • None

    Description

      Currently the .consumes method on route only accepts String as media types, but we can overload this method to also take MediaType.JSON etc.

      This task should also add constants for JSP, JSON, and HTML to AbstractRoutingModule so that these can be used directly in route configurations.

      Attachments

        Activity

          People

            dbeveniu Daniel Bevenius (Inactive)
            dbeveniu Daniel Bevenius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: