Getting access to HttpRequest object in Jazz service
I have written a service in Jazz by extending the class AbstractService.
I need to get hold of the HttpRequest object in the service code to access a cookie that is being passed. What is the correct way to access the HttpRequest object ? I found the following API, which seems deprecated TeamServiceContext.getCurrent().getHttpServletRequest(); Thanks - Vibha |
One answer
hi Vibha, as far as i know, REST handlers are working with the HttpRequest and HttpResponse instead of the HttpServletRequest and HttpServletResponse, Hopes that this page can help:https://jazz.net/wiki/bin/view/Main/ServerSDKQnA
I have written a service in Jazz by extending the class AbstractService. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.