• 2 replies
  • Latest Post - ‏2013-05-08T16:05:46Z by RickGentner
80 Posts

Pinned topic Retrieve current function name

‏2013-05-08T13:35:01Z | egl rest service

Is there a way to retrieve the name of the current function being executed?  


I want to be able to get the name of a function in a REST service that is currently being executed similar to the way an RPG programmer can retrieve the program name from the program status data structure.

I am trying to avoid hard coding names in each function,

I have tried all of the functions available for httpServletRequest and none of them give me the function name.

I would have thought that getQueryString would have identified it but I only get the value of null