Skip to main content
Version: 4.6.x.x LTS

RequestStatistics object methods

MethodDescriptionSample
RequestStatistics:getFilterChain()Returns the filter chain that was called for the current request.local invS = statistic:getFilterChain()
RequestStatistics:getTimeSpentInFrontend()Returns the time spent to read/write the data from/to the frontend.local dTFrs = statistic:getTimeSpentInFrontend()
RequestStatistics:getSessionId()Returns the session ID (or "<NULL>", if no session was got or created).local clID = statistic:getSessionId()
RequestStatistics:getTransferId()Returns the transfer ID. This is a unique ID that identifies the request.local trID = statistic:getTransferId()
RequestStatistics:getThreadCounter()Returns the number of concurrent threads.local cR = statistic:getThreadCounter()
RequestStatistics:getTimeSpentInTotalSoFar()Returns the time spent in total in the proxy until now.local timeSpent = statistic:getTimeSpentInTotalSoFar()
RequestStatistics:getRequestUri()Returns the parsed request URI as well as the unparsed request URI if it differs from the parsed one.- The parsed request URI is the "translated" request URI. This URI is used to find out which filters and servlets are mapped to it.- The unparsed request URI is the URI as received from the frontend (for example the encrypted URI if an UrlEncryptionFilter was involved).local URI, unparsedUri = statistic:getRequestUri()
RequestStatistics:getEvents()Returns a comma separated list of events that have been set. Nil is returned if no events have been set.local event = statistic:getEvents()