public interface HTTPRequestPropertiesOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsRequestHeaders(String key)
Map of additional headers that have been configured to be logged.
|
String |
getAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
|
com.google.protobuf.ByteString |
getAuthorityBytes()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
|
String |
getForwardedFor()
Value of the ``X-Forwarded-For`` request header.
|
com.google.protobuf.ByteString |
getForwardedForBytes()
Value of the ``X-Forwarded-For`` request header.
|
String |
getOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
|
com.google.protobuf.ByteString |
getOriginalPathBytes()
Value of the ``X-Envoy-Original-Path`` request header.
|
String |
getPath()
The path portion from the incoming request URI.
|
com.google.protobuf.ByteString |
getPathBytes()
The path portion from the incoming request URI.
|
com.google.protobuf.UInt32Value |
getPort()
The port of the incoming request URI
(unused currently, as port is composed onto authority).
|
com.google.protobuf.UInt32ValueOrBuilder |
getPortOrBuilder()
The port of the incoming request URI
(unused currently, as port is composed onto authority).
|
String |
getReferer()
Value of the ``Referer`` request header.
|
com.google.protobuf.ByteString |
getRefererBytes()
Value of the ``Referer`` request header.
|
long |
getRequestBodyBytes()
Size of the HTTP request body in bytes.
|
Map<String,String> |
getRequestHeaders()
Deprecated.
|
long |
getRequestHeadersBytes()
Size of the HTTP request headers in bytes.
|
int |
getRequestHeadersCount()
Map of additional headers that have been configured to be logged.
|
Map<String,String> |
getRequestHeadersMap()
Map of additional headers that have been configured to be logged.
|
String |
getRequestHeadersOrDefault(String key,
String defaultValue)
Map of additional headers that have been configured to be logged.
|
String |
getRequestHeadersOrThrow(String key)
Map of additional headers that have been configured to be logged.
|
String |
getRequestId()
Value of the ``X-Request-Id`` request header
This header is used by Envoy to uniquely identify a request.
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Value of the ``X-Request-Id`` request header
This header is used by Envoy to uniquely identify a request.
|
RequestMethod |
getRequestMethod()
The request method (RFC 7231/2616).
|
int |
getRequestMethodValue()
The request method (RFC 7231/2616).
|
String |
getScheme()
The scheme portion of the incoming request URI.
|
com.google.protobuf.ByteString |
getSchemeBytes()
The scheme portion of the incoming request URI.
|
String |
getUserAgent()
Value of the ``User-Agent`` request header.
|
com.google.protobuf.ByteString |
getUserAgentBytes()
Value of the ``User-Agent`` request header.
|
boolean |
hasPort()
The port of the incoming request URI
(unused currently, as port is composed onto authority).
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getRequestMethodValue()
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }RequestMethod getRequestMethod()
The request method (RFC 7231/2616).
.envoy.config.core.v3.RequestMethod request_method = 1 [(.validate.rules) = { ... }String getScheme()
The scheme portion of the incoming request URI.
string scheme = 2;com.google.protobuf.ByteString getSchemeBytes()
The scheme portion of the incoming request URI.
string scheme = 2;String getAuthority()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;com.google.protobuf.ByteString getAuthorityBytes()
HTTP/2 ``:authority`` or HTTP/1.1 ``Host`` header value.
string authority = 3;boolean hasPort()
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;com.google.protobuf.UInt32Value getPort()
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;com.google.protobuf.UInt32ValueOrBuilder getPortOrBuilder()
The port of the incoming request URI (unused currently, as port is composed onto authority).
.google.protobuf.UInt32Value port = 4;String getPath()
The path portion from the incoming request URI.
string path = 5;com.google.protobuf.ByteString getPathBytes()
The path portion from the incoming request URI.
string path = 5;String getUserAgent()
Value of the ``User-Agent`` request header.
string user_agent = 6;com.google.protobuf.ByteString getUserAgentBytes()
Value of the ``User-Agent`` request header.
string user_agent = 6;String getReferer()
Value of the ``Referer`` request header.
string referer = 7;com.google.protobuf.ByteString getRefererBytes()
Value of the ``Referer`` request header.
string referer = 7;String getForwardedFor()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;com.google.protobuf.ByteString getForwardedForBytes()
Value of the ``X-Forwarded-For`` request header.
string forwarded_for = 8;String getRequestId()
Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request. It will be generated for all external requests and internal requests that do not already have a request ID.
string request_id = 9;com.google.protobuf.ByteString getRequestIdBytes()
Value of the ``X-Request-Id`` request header This header is used by Envoy to uniquely identify a request. It will be generated for all external requests and internal requests that do not already have a request ID.
string request_id = 9;String getOriginalPath()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;com.google.protobuf.ByteString getOriginalPathBytes()
Value of the ``X-Envoy-Original-Path`` request header.
string original_path = 10;long getRequestHeadersBytes()
Size of the HTTP request headers in bytes. This value is captured from the OSI layer 7 perspective, i.e. it does not include overhead from framing or encoding at other networking layers.
uint64 request_headers_bytes = 11;long getRequestBodyBytes()
Size of the HTTP request body in bytes. This value is captured from the OSI layer 7 perspective, i.e. it does not include overhead from framing or encoding at other networking layers.
uint64 request_body_bytes = 12;int getRequestHeadersCount()
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;boolean containsRequestHeaders(String key)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;@Deprecated Map<String,String> getRequestHeaders()
getRequestHeadersMap() instead.Map<String,String> getRequestHeadersMap()
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;String getRequestHeadersOrDefault(String key, String defaultValue)
Map of additional headers that have been configured to be logged.
map<string, string> request_headers = 13;Copyright © 2018–2021 The Envoy Project. All rights reserved.