Package com.netcracker.profiler.servlet
Class TreeFetcher
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.netcracker.profiler.servlet.HttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>
com.netcracker.profiler.servlet.TreeFetcher
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
@Singleton
public class TreeFetcher
extends HttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
ConstructorsConstructorDescriptionTreeFetcher(com.netcracker.profiler.fetch.FetchCallTreeFactory fetchCallTreeFactory, com.netcracker.profiler.sax.builders.SuspendLogBuilderFactory suspendLogBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.netcracker.profiler.servlet.TreeFetcher.RequestContextprotected com.netcracker.profiler.output.CallTreeMediatorgetMediator(com.netcracker.profiler.servlet.TreeFetcher.RequestContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, com.netcracker.profiler.output.layout.Layout layout) protected RunnableidentifyAction(com.netcracker.profiler.servlet.TreeFetcher.RequestContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, com.netcracker.profiler.output.CallTreeMediator mediator) protected com.netcracker.profiler.output.layout.LayoutidentifyLayout(com.netcracker.profiler.servlet.TreeFetcher.RequestContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) voidinit(jakarta.servlet.ServletConfig config) Methods inherited from class com.netcracker.profiler.servlet.HttpServletBase
createSupervisor, doGet, doPost, parseLongMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPut, doTrace, getLastModified, isSensitiveHeader, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
CHAIN_ID_KEY
- See Also:
-
-
Constructor Details
-
TreeFetcher
@Inject public TreeFetcher(com.netcracker.profiler.fetch.FetchCallTreeFactory fetchCallTreeFactory, com.netcracker.profiler.sax.builders.SuspendLogBuilderFactory suspendLogBuilderFactory)
-
-
Method Details
-
createContext
protected com.netcracker.profiler.servlet.TreeFetcher.RequestContext createContext()- Overrides:
createContextin classHttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletException
-
identifyLayout
protected com.netcracker.profiler.output.layout.Layout identifyLayout(com.netcracker.profiler.servlet.TreeFetcher.RequestContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) - Specified by:
identifyLayoutin classHttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>
-
getMediator
protected com.netcracker.profiler.output.CallTreeMediator getMediator(com.netcracker.profiler.servlet.TreeFetcher.RequestContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, com.netcracker.profiler.output.layout.Layout layout) - Specified by:
getMediatorin classHttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>
-
identifyAction
protected Runnable identifyAction(com.netcracker.profiler.servlet.TreeFetcher.RequestContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, com.netcracker.profiler.output.CallTreeMediator mediator) - Specified by:
identifyActionin classHttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>
-