public interface HttpRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCacheFillBytes()
The number of HTTP response bytes inserted into cache.
|
boolean |
getCacheHit()
Whether or not an entity was served from cache
(with or without validation).
|
boolean |
getCacheLookup()
Whether or not a cache lookup was attempted.
|
boolean |
getCacheValidatedWithOriginServer()
Whether or not the response was validated with the origin server before
being served from cache.
|
Duration |
getLatency()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
DurationOrBuilder |
getLatencyOrBuilder()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
java.lang.String |
getProtocol()
Protocol used for the request.
|
ByteString |
getProtocolBytes()
Protocol used for the request.
|
java.lang.String |
getReferer()
The referer URL of the request, as defined in
[HTTP/1.1 Header Field
Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
ByteString |
getRefererBytes()
The referer URL of the request, as defined in
[HTTP/1.1 Header Field
Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
java.lang.String |
getRemoteIp()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
ByteString |
getRemoteIpBytes()
The IP address (IPv4 or IPv6) of the client that issued the HTTP
request.
|
java.lang.String |
getRequestMethod()
The request method.
|
ByteString |
getRequestMethodBytes()
The request method.
|
long |
getRequestSize()
The size of the HTTP request message in bytes, including the request
headers and the request body.
|
java.lang.String |
getRequestUrl()
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
ByteString |
getRequestUrlBytes()
The scheme (http, https), the host name, the path and the query
portion of the URL that was requested.
|
long |
getResponseSize()
The size of the HTTP response message sent back to the client, in bytes,
including the response headers and the response body.
|
java.lang.String |
getServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
ByteString |
getServerIpBytes()
The IP address (IPv4 or IPv6) of the origin server that the request was
sent to.
|
int |
getStatus()
The response code indicating the status of response.
|
java.lang.String |
getUserAgent()
The user agent sent by the client.
|
ByteString |
getUserAgentBytes()
The user agent sent by the client.
|
boolean |
hasLatency()
The request processing latency on the server, from the time the request was
received until the response was sent.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getRequestMethod()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;
ByteString getRequestMethodBytes()
The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
string request_method = 1;
java.lang.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;
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;
long getRequestSize()
The size of the HTTP request message in bytes, including the request headers and the request body.
int64 request_size = 3;
int getStatus()
The response code indicating the status of response. Examples: 200, 404.
int32 status = 4;
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;
java.lang.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;
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;
java.lang.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;
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;
java.lang.String getServerIp()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;
ByteString getServerIpBytes()
The IP address (IPv4 or IPv6) of the origin server that the request was sent to.
string server_ip = 13;
java.lang.String getReferer()
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;
ByteString getRefererBytes()
The referer URL of the request, as defined in [HTTP/1.1 Header Field Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
string referer = 8;
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;
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;
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;
boolean getCacheLookup()
Whether or not a cache lookup was attempted.
bool cache_lookup = 11;
boolean getCacheHit()
Whether or not an entity was served from cache (with or without validation).
bool cache_hit = 9;
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;
long getCacheFillBytes()
The number of HTTP response bytes inserted into cache. Set only when a cache fill was attempted.
int64 cache_fill_bytes = 12;
java.lang.String getProtocol()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;
ByteString getProtocolBytes()
Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
string protocol = 15;