Uploaded image for project: 'Juneau'
  1. Juneau
  2. JUNEAU-240

RestContext should be subclassible.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.1.3
    • 8.2.0
    • Code
    • None

    Description

      The RestContext class should be subclassible so that behavior can be modified at runtime.  

      It could be selected on the builder class like so:

      restContextBuilder.contextClass(MyRestContext.class)

      The context class could also be defined via an annotation:

      @Rest(context=MyRestContext.class)

      This could also make classes like the RestCallHandler interface obsolete since these could all be defined as methods on the RestContext class and overridable there.

      Attachments

        Activity

          People

            jamesbognar James Bognar
            jamesbognar James Bognar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: