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

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
    TreeFetcher(com.netcracker.profiler.fetch.FetchCallTreeFactory fetchCallTreeFactory, com.netcracker.profiler.sax.builders.SuspendLogBuilderFactory suspendLogBuilderFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.netcracker.profiler.servlet.TreeFetcher.RequestContext
     
    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)
     
    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)
     
    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)
     
    void
    init(jakarta.servlet.ServletConfig config)
     

    Methods inherited from class com.netcracker.profiler.servlet.HttpServletBase

    createSupervisor, doGet, doPost, parseLong

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPatch, doPut, doTrace, getLastModified, isSensitiveHeader, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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:
      createContext in class HttpServletBase<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:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.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:
      identifyLayout in class HttpServletBase<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:
      getMediator in class HttpServletBase<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:
      identifyAction in class HttpServletBase<com.netcracker.profiler.output.CallTreeMediator,com.netcracker.profiler.servlet.TreeFetcher.RequestContext>