-
public final class ResourceEvent.ResourceResource properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classResourceEvent.Resource.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final ResourceEvent.ResourceTypetypeprivate final ResourceEvent.Methodmethodprivate Stringurlprivate final LongstatusCodeprivate final Longdurationprivate final Longsizeprivate final ResourceEvent.Redirectredirectprivate final ResourceEvent.Dnsdnsprivate final ResourceEvent.Connectconnectprivate final ResourceEvent.Sslsslprivate final ResourceEvent.FirstBytefirstByteprivate final ResourceEvent.Downloaddownloadprivate final ResourceEvent.Providerprovider
-
Constructor Summary
Constructors Constructor Description ResourceEvent.Resource(String id, ResourceEvent.ResourceType type, ResourceEvent.Method method, String url, Long statusCode, Long duration, Long size, ResourceEvent.Redirect redirect, ResourceEvent.Dns dns, ResourceEvent.Connect connect, ResourceEvent.Ssl ssl, ResourceEvent.FirstByte firstByte, ResourceEvent.Download download, ResourceEvent.Provider provider)
-
Method Summary
Modifier and Type Method Description final StringgetId()final ResourceEvent.ResourceTypegetType()final ResourceEvent.MethodgetMethod()final StringgetUrl()final UnitsetUrl(String url)final LonggetStatusCode()final LonggetDuration()final LonggetSize()final ResourceEvent.RedirectgetRedirect()final ResourceEvent.DnsgetDns()final ResourceEvent.ConnectgetConnect()final ResourceEvent.SslgetSsl()final ResourceEvent.FirstBytegetFirstByte()final ResourceEvent.DownloadgetDownload()final ResourceEvent.ProvidergetProvider()final JsonElementtoJson()-
-
Constructor Detail
-
ResourceEvent.Resource
ResourceEvent.Resource(String id, ResourceEvent.ResourceType type, ResourceEvent.Method method, String url, Long statusCode, Long duration, Long size, ResourceEvent.Redirect redirect, ResourceEvent.Dns dns, ResourceEvent.Connect connect, ResourceEvent.Ssl ssl, ResourceEvent.FirstByte firstByte, ResourceEvent.Download download, ResourceEvent.Provider provider)
- Parameters:
id- UUID of the resourcetype- Resource typemethod- HTTP method of the resourceurl- URL of the resourcestatusCode- HTTP status code of the resourceduration- Duration of the resourcesize- Size in octet of the resource response bodyredirect- Redirect phase propertiesdns- DNS phase propertiesconnect- Connect phase propertiesssl- SSL phase propertiesfirstByte- First Byte phase propertiesdownload- Download phase propertiesprovider- The provider for this resource
-
-
Method Detail
-
getType
final ResourceEvent.ResourceType getType()
-
getMethod
final ResourceEvent.Method getMethod()
-
getStatusCode
final Long getStatusCode()
-
getDuration
final Long getDuration()
-
getRedirect
final ResourceEvent.Redirect getRedirect()
-
getDns
final ResourceEvent.Dns getDns()
-
getConnect
final ResourceEvent.Connect getConnect()
-
getSsl
final ResourceEvent.Ssl getSsl()
-
getFirstByte
final ResourceEvent.FirstByte getFirstByte()
-
getDownload
final ResourceEvent.Download getDownload()
-
getProvider
final ResourceEvent.Provider getProvider()
-
toJson
final JsonElement toJson()
-
-
-
-