Class HttpRequestEvent

java.lang.Object
io.airlift.http.server.HttpRequestEvent

public class HttpRequestEvent extends Object
  • Constructor Details

    • HttpRequestEvent

      public HttpRequestEvent(Instant timeStamp, String traceToken, String clientAddress, String protocol, String method, String requestUri, String user, String agent, String referrer, long requestSize, String requestContentType, long responseSize, int responseCode, String responseContentType, long timeToDispatch, Long timeToFirstByte, long timeToLastByte, long beginToDispatchMillis, long beginToEndMillis, long firstToLastContentTimeInMillis, DoubleSummaryStats responseContentInterarrivalStats, String protocolVersion)
  • Method Details

    • createHttpRequestEvent

      public static HttpRequestEvent createHttpRequestEvent(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, TraceTokenManager traceTokenManager, long currentTimeInMillis, long beginToDispatchMillis, long beginToEndMillis, long firstToLastContentTimeInMillis, DoubleSummaryStats responseContentInterarrivalStats)
    • getTimeStamp

      public Instant getTimeStamp()
    • getTraceToken

      public String getTraceToken()
    • getClientAddress

      public String getClientAddress()
    • getProtocol

      public String getProtocol()
    • getMethod

      public String getMethod()
    • getRequestUri

      public String getRequestUri()
    • getUser

      public String getUser()
    • getAgent

      public String getAgent()
    • getReferrer

      public String getReferrer()
    • getRequestSize

      public long getRequestSize()
    • getRequestContentType

      public String getRequestContentType()
    • getResponseSize

      public long getResponseSize()
    • getResponseCode

      public int getResponseCode()
    • getResponseContentType

      public String getResponseContentType()
    • getTimeToDispatch

      public long getTimeToDispatch()
    • getTimeToFirstByte

      public Long getTimeToFirstByte()
    • getTimeToLastByte

      public long getTimeToLastByte()
    • getBeginToDispatchMillis

      public long getBeginToDispatchMillis()
    • getBeginToEndMillis

      public long getBeginToEndMillis()
    • getFirstToLastContentTimeInMillis

      public long getFirstToLastContentTimeInMillis()
    • getResponseContentInterarrivalStats

      public DoubleSummaryStats getResponseContentInterarrivalStats()
    • getProtocolVersion

      public String getProtocolVersion()