public class Response extends Object
| Constructor and Description |
|---|
Response() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getConnectionId()
Physical connection id that was actually used for this request.
|
Boolean |
getConnectionReused()
Specifies whether physical connection was actually reused for this request.
|
Double |
getEncodedDataLength()
Total number of bytes received for this request so far.
|
Boolean |
getFromDiskCache()
Specifies that the request was served from the disk cache.
|
Boolean |
getFromPrefetchCache()
Specifies that the request was served from the prefetch cache.
|
Boolean |
getFromServiceWorker()
Specifies that the request was served from the ServiceWorker.
|
Map<String,Object> |
getHeaders()
HTTP response headers.
|
String |
getHeadersText()
HTTP response headers text.
|
String |
getMimeType()
Resource mimeType as determined by the browser.
|
String |
getProtocol()
Protocol used to fetch this request.
|
String |
getRemoteIPAddress()
Remote IP address.
|
Integer |
getRemotePort()
Remote port.
|
Map<String,Object> |
getRequestHeaders()
Refined HTTP request headers that were actually transmitted over the network.
|
String |
getRequestHeadersText()
HTTP request headers text.
|
SecurityDetails |
getSecurityDetails()
Security details for the request.
|
SecurityState |
getSecurityState()
Security state of the request resource.
|
Integer |
getStatus()
HTTP response status code.
|
String |
getStatusText()
HTTP response status text.
|
ResourceTiming |
getTiming()
Timing information for the given request.
|
String |
getUrl()
Response URL.
|
void |
setConnectionId(Double connectionId)
Physical connection id that was actually used for this request.
|
void |
setConnectionReused(Boolean connectionReused)
Specifies whether physical connection was actually reused for this request.
|
void |
setEncodedDataLength(Double encodedDataLength)
Total number of bytes received for this request so far.
|
void |
setFromDiskCache(Boolean fromDiskCache)
Specifies that the request was served from the disk cache.
|
void |
setFromPrefetchCache(Boolean fromPrefetchCache)
Specifies that the request was served from the prefetch cache.
|
void |
setFromServiceWorker(Boolean fromServiceWorker)
Specifies that the request was served from the ServiceWorker.
|
void |
setHeaders(Map<String,Object> headers)
HTTP response headers.
|
void |
setHeadersText(String headersText)
HTTP response headers text.
|
void |
setMimeType(String mimeType)
Resource mimeType as determined by the browser.
|
void |
setProtocol(String protocol)
Protocol used to fetch this request.
|
void |
setRemoteIPAddress(String remoteIPAddress)
Remote IP address.
|
void |
setRemotePort(Integer remotePort)
Remote port.
|
void |
setRequestHeaders(Map<String,Object> requestHeaders)
Refined HTTP request headers that were actually transmitted over the network.
|
void |
setRequestHeadersText(String requestHeadersText)
HTTP request headers text.
|
void |
setSecurityDetails(SecurityDetails securityDetails)
Security details for the request.
|
void |
setSecurityState(SecurityState securityState)
Security state of the request resource.
|
void |
setStatus(Integer status)
HTTP response status code.
|
void |
setStatusText(String statusText)
HTTP response status text.
|
void |
setTiming(ResourceTiming timing)
Timing information for the given request.
|
void |
setUrl(String url)
Response URL.
|
public String getUrl()
public void setUrl(String url)
public Integer getStatus()
public void setStatus(Integer status)
public String getStatusText()
public void setStatusText(String statusText)
public String getHeadersText()
public void setHeadersText(String headersText)
public String getMimeType()
public void setMimeType(String mimeType)
public Map<String,Object> getRequestHeaders()
public void setRequestHeaders(Map<String,Object> requestHeaders)
public String getRequestHeadersText()
public void setRequestHeadersText(String requestHeadersText)
public Boolean getConnectionReused()
public void setConnectionReused(Boolean connectionReused)
public Double getConnectionId()
public void setConnectionId(Double connectionId)
public String getRemoteIPAddress()
public void setRemoteIPAddress(String remoteIPAddress)
public Integer getRemotePort()
public void setRemotePort(Integer remotePort)
public Boolean getFromDiskCache()
public void setFromDiskCache(Boolean fromDiskCache)
public Boolean getFromServiceWorker()
public void setFromServiceWorker(Boolean fromServiceWorker)
public Boolean getFromPrefetchCache()
public void setFromPrefetchCache(Boolean fromPrefetchCache)
public Double getEncodedDataLength()
public void setEncodedDataLength(Double encodedDataLength)
public ResourceTiming getTiming()
public void setTiming(ResourceTiming timing)
public String getProtocol()
public void setProtocol(String protocol)
public SecurityState getSecurityState()
public void setSecurityState(SecurityState securityState)
public SecurityDetails getSecurityDetails()
public void setSecurityDetails(SecurityDetails securityDetails)
Copyright © 2020. All rights reserved.