You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2010/03/31 21:01:27 UTC

[jira] Resolved: (WINK-267) RestServlet.service(Http*,Http*) is final

     [ https://issues.apache.org/jira/browse/WINK-267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Rheinheimer resolved WINK-267.
-----------------------------------

    Resolution: Fixed
      Assignee: Mike Rheinheimer

Thanks Jason.  Committed in SVN rev 929661.

> RestServlet.service(Http*,Http*) is final
> -----------------------------------------
>
>                 Key: WINK-267
>                 URL: https://issues.apache.org/jira/browse/WINK-267
>             Project: Wink
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Jason Dillon
>            Assignee: Mike Rheinheimer
>         Attachments: 0003-Unfinal-service-Http-Http.patch
>
>
> I'd like to sub-class RestServlet and override this method to add some logging context via MDC... but I can't due to it being final:
> {code}
> @Override
>    protected final void service(HttpServletRequest httpServletRequest,
>                                 HttpServletResponse httpServletResponse) throws ServletException,
>        IOException {
>        getRequestProcessor().handleRequest(httpServletRequest, httpServletResponse);
>    }
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.