- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public interface HttpRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCacheFillBytes()
public abstract long getCacheFillBytes()
The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
int64 cache_fill_bytes = 12;
Returns | |
---|---|
Type | Description |
long |
The cacheFillBytes. |
getCacheHit()
public abstract boolean getCacheHit()
Whether or not an entity was served from cache (with or without validation).
bool cache_hit = 9;
Returns | |
---|---|
Type | Description |
boolean |
The cacheHit. |
getCacheLookup()
public abstract boolean getCacheLookup()
Whether or not a cache lookup was attempted.
bool cache_lookup = 11;
Returns | |
---|---|
Type | Description |
boolean |
The cacheLookup. |
getCacheValidatedWithOriginServer()
public abstract boolean getCacheValidatedWithOriginServer()
Whether or not the response was validated with the origin server before
being served from cache. This field is only meaningful if cache_hit
is
True.
bool cache_validated_with_origin_server = 10;
Returns | |
---|---|
Type | Description |
boolean |
The cacheValidatedWithOriginServer. |
getLatency()
public abstract Duration getLatency()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;
Returns | |
---|---|
Type | Description |
Duration |
The latency. |
getLatencyOrBuilder()
public abstract DurationOrBuilder getLatencyOrBuilder()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
getProtocol()
public abstract String getProtocol()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;
Returns | |
---|---|
Type | Description |
String |
The protocol. |
getProtocolBytes()
public abstract ByteString getProtocolBytes()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for protocol. |
getReferer()
public abstract String getReferer()
The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
string referer = 8;
Returns | |
---|---|
Type | Description |
String |
The referer. |
getRefererBytes()
public abstract ByteString getRefererBytes()
The referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
string referer = 8;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for referer. |
getRemoteIp()
public abstract String getRemoteIp()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request. Examples: "192.168.1.1"
, "FE80::0202:B3FF:FE1E:8329"
.
string remote_ip = 7;
Returns | |
---|---|
Type | Description |
String |
The remoteIp. |
getRemoteIpBytes()
public abstract ByteString getRemoteIpBytes()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request. Examples: "192.168.1.1"
, "FE80::0202:B3FF:FE1E:8329"
.
string remote_ip = 7;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for remoteIp. |
getRequestMethod()
public abstract String getRequestMethod()
The request method. Examples: "GET"
, "HEAD"
, "PUT"
, "POST"
.
string request_method = 1;
Returns | |
---|---|
Type | Description |
String |
The requestMethod. |
getRequestMethodBytes()
public abstract ByteString getRequestMethodBytes()
The request method. Examples: "GET"
, "HEAD"
, "PUT"
, "POST"
.
string request_method = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestMethod. |
getRequestSize()
public abstract long getRequestSize()
The size of the HTTP request message in bytes, including the request headers and the request body.
int64 request_size = 3;
Returns | |
---|---|
Type | Description |
long |
The requestSize. |
getRequestUrl()
public abstract String getRequestUrl()
The scheme (http, https), the host name, the path, and the query
portion of the URL that was requested.
Example: "http://example.com/some/info?color=red"
.
string request_url = 2;
Returns | |
---|---|
Type | Description |
String |
The requestUrl. |
getRequestUrlBytes()
public abstract ByteString getRequestUrlBytes()
The scheme (http, https), the host name, the path, and the query
portion of the URL that was requested.
Example: "http://example.com/some/info?color=red"
.
string request_url = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for requestUrl. |
getResponseSize()
public abstract long getResponseSize()
The size of the HTTP response message sent back to the client, in bytes, including the response headers and the response body.
int64 response_size = 5;
Returns | |
---|---|
Type | Description |
long |
The responseSize. |
getServerIp()
public abstract String getServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;
Returns | |
---|---|
Type | Description |
String |
The serverIp. |
getServerIpBytes()
public abstract ByteString getServerIpBytes()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for serverIp. |
getStatus()
public abstract int getStatus()
The response code indicating the status of the response. Examples: 200, 404.
int32 status = 4;
Returns | |
---|---|
Type | Description |
int |
The status. |
getUserAgent()
public abstract String getUserAgent()
The user agent sent by the client. Example:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
CLR 1.0.3705)"
.
string user_agent = 6;
Returns | |
---|---|
Type | Description |
String |
The userAgent. |
getUserAgentBytes()
public abstract ByteString getUserAgentBytes()
The user agent sent by the client. Example:
"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
CLR 1.0.3705)"
.
string user_agent = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for userAgent. |
hasLatency()
public abstract boolean hasLatency()
The request processing latency on the server, from the time the request was received until the response was sent.
.google.protobuf.Duration latency = 14;
Returns | |
---|---|
Type | Description |
boolean |
Whether the latency field is set. |