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

Overload .consumes to take MediaTypes in addition to Strings

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: