Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-474

PostProcessInterceptor should provide ResourceMethod in postProcess method signature

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.1.0.GA
    • 2.0.1.GA
    • None
    • None

      When implementing a PostProcessInterceptor, it would be useful to have access to the ResourceMethod that was invoked. It is currently not possible to determine what ResourceMethod was invoked.

      The new signature would look like this (which is similar to preProcess of PreProcessInterceptor)

      void postProcess(ServerResponse response, ResourceMethod method);

      Accessing the ResourceMethod instance is necessary when the post-process depends on information accessible at the method or resource class level.

              patriot1burke@gmail.com Bill Burke (Inactive)
              plaflamme Philippe Laflamme (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: