Package io.airlift.http.server
Class HttpRequestEvent
java.lang.Object
io.airlift.http.server.HttpRequestEvent
-
Constructor Summary
ConstructorsConstructorDescriptionHttpRequestEvent(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 Summary
Modifier and TypeMethodDescriptionstatic HttpRequestEventcreateHttpRequestEvent(org.eclipse.jetty.server.Request request, org.eclipse.jetty.server.Response response, TraceTokenManager traceTokenManager, long currentTimeInMillis, long beginToDispatchMillis, long beginToEndMillis, long firstToLastContentTimeInMillis, DoubleSummaryStats responseContentInterarrivalStats) getAgent()longlonglonglongintlonglonglonggetUser()
-
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
-
getTraceToken
-
getClientAddress
-
getProtocol
-
getMethod
-
getRequestUri
-
getUser
-
getAgent
-
getReferrer
-
getRequestSize
public long getRequestSize() -
getRequestContentType
-
getResponseSize
public long getResponseSize() -
getResponseCode
public int getResponseCode() -
getResponseContentType
-
getTimeToDispatch
public long getTimeToDispatch() -
getTimeToFirstByte
-
getTimeToLastByte
public long getTimeToLastByte() -
getBeginToDispatchMillis
public long getBeginToDispatchMillis() -
getBeginToEndMillis
public long getBeginToEndMillis() -
getFirstToLastContentTimeInMillis
public long getFirstToLastContentTimeInMillis() -
getResponseContentInterarrivalStats
-
getProtocolVersion
-