Class HttpConnectTiming
- java.lang.Object
-
- com.browserup.bup.filters.support.HttpConnectTiming
-
public class HttpConnectTiming extends java.lang.ObjectHolds the connection-related timing information from an HTTP CONNECT request, so it can be added to the HAR timings for the first "real" request to the same host. The HTTP CONNECT and the "real" HTTP requests are processed in different HarCaptureFilter instances. Note: The connect time must include the ssl time. According to the HAR spec at https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HAR/Overview.htm:ssl [number, optional] (new in 1.2) - Time required for SSL/TLS negotiation. If this field is defined then the time is also included in the connect field (to ensure backward compatibility with HAR 1.1). Use -1 if the timing does not apply to the current request.
-
-
Constructor Summary
Constructors Constructor Description HttpConnectTiming()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetBlockedTimeNanos()longgetConnectTimeNanos()longgetDnsTimeNanos()longgetSslHandshakeTimeNanos()voidsetBlockedTimeNanos(long blockedTimeNanos)voidsetConnectTimeNanos(long connectTimeNanos)voidsetDnsTimeNanos(long dnsTimeNanos)voidsetSslHandshakeTimeNanos(long sslHandshakeTimeNanos)
-
-
-
Method Detail
-
setConnectTimeNanos
public void setConnectTimeNanos(long connectTimeNanos)
-
setSslHandshakeTimeNanos
public void setSslHandshakeTimeNanos(long sslHandshakeTimeNanos)
-
setBlockedTimeNanos
public void setBlockedTimeNanos(long blockedTimeNanos)
-
setDnsTimeNanos
public void setDnsTimeNanos(long dnsTimeNanos)
-
getConnectTimeNanos
public long getConnectTimeNanos()
-
getSslHandshakeTimeNanos
public long getSslHandshakeTimeNanos()
-
getBlockedTimeNanos
public long getBlockedTimeNanos()
-
getDnsTimeNanos
public long getDnsTimeNanos()
-
-