try {
response.setContentType(CONTENT_TYPE);
response.setHeader("pragma", "no-cache");
JBPMethod keyMethod = new JBPMethod();
JBPClass keyClass = new JBPClass();
javax.servlet.http.HttpSession session = request.getSession();
org.jboss.profiler.web.form.FilterForm beanFilter =
(org.jboss.profiler.web.form.FilterForm) request
.getSession()
.getAttribute("filterForm");
org.jboss.profiler.model.JBPProcess spyProcess =
beanFilter.getJbpProcess();
int classId = Integer.parseInt(request.getParameter("classId"));
keyClass.setClassID(classId);
JBPClass spyClass =
(JBPClass) spyProcess.getSpyClasses().get(keyClass);
HashMap spyMethods = spyProcess.getSpyMethods();
JBPMethod spyMethodProcess = (JBPMethod) spyMethods.get(keyMethod);