public static interface AttributeContextOuterClass.AttributeContext.HttpRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsHeaders(String key)
The HTTP request headers.
|
String |
getFragment()
The HTTP URL fragment, excluding leading `#`.
|
com.google.protobuf.ByteString |
getFragmentBytes()
The HTTP URL fragment, excluding leading `#`.
|
Map<String,String> |
getHeaders()
Deprecated.
|
int |
getHeadersCount()
The HTTP request headers.
|
Map<String,String> |
getHeadersMap()
The HTTP request headers.
|
String |
getHeadersOrDefault(String key,
String defaultValue)
The HTTP request headers.
|
String |
getHeadersOrThrow(String key)
The HTTP request headers.
|
String |
getHost()
The HTTP request `Host` or 'Authority` header value.
|
com.google.protobuf.ByteString |
getHostBytes()
The HTTP request `Host` or 'Authority` header value.
|
String |
getId()
The unique ID for a request, which can be propagated to downstream
systems.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique ID for a request, which can be propagated to downstream
systems.
|
String |
getMethod()
The HTTP request method, such as `GET`, `POST`.
|
com.google.protobuf.ByteString |
getMethodBytes()
The HTTP request method, such as `GET`, `POST`.
|
String |
getPath()
The HTTP URL path.
|
com.google.protobuf.ByteString |
getPathBytes()
The HTTP URL path.
|
String |
getProtocol()
The network protocol used with the request, such as
"http/1.1", "spdy/3", "h2", "h2c"
|
com.google.protobuf.ByteString |
getProtocolBytes()
The network protocol used with the request, such as
"http/1.1", "spdy/3", "h2", "h2c"
|
String |
getQuery()
The HTTP URL query in the format of `name1=value`&name2=value2`, as it
appears in the first line of the HTTP request.
|
com.google.protobuf.ByteString |
getQueryBytes()
The HTTP URL query in the format of `name1=value`&name2=value2`, as it
appears in the first line of the HTTP request.
|
String |
getScheme()
The HTTP URL scheme, such as `http` and `https`.
|
com.google.protobuf.ByteString |
getSchemeBytes()
The HTTP URL scheme, such as `http` and `https`.
|
long |
getSize()
The HTTP request size in bytes.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getId()
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;com.google.protobuf.ByteString getIdBytes()
The unique ID for a request, which can be propagated to downstream systems. The ID should have low probability of collision within a single day for a specific service. For HTTP requests, it should be X-Request-ID or equivalent.
string id = 1;String getMethod()
The HTTP request method, such as `GET`, `POST`.
string method = 2;com.google.protobuf.ByteString getMethodBytes()
The HTTP request method, such as `GET`, `POST`.
string method = 2;int getHeadersCount()
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;boolean containsHeaders(String key)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;@Deprecated Map<String,String> getHeaders()
getHeadersMap() instead.Map<String,String> getHeadersMap()
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;String getHeadersOrDefault(String key, String defaultValue)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;String getHeadersOrThrow(String key)
The HTTP request headers. If multiple headers share the same key, they must be merged according to the HTTP spec. All header keys must be lowercased, because HTTP header keys are case-insensitive.
map<string, string> headers = 3;String getPath()
The HTTP URL path.
string path = 4;com.google.protobuf.ByteString getPathBytes()
The HTTP URL path.
string path = 4;String getHost()
The HTTP request `Host` or 'Authority` header value.
string host = 5;com.google.protobuf.ByteString getHostBytes()
The HTTP request `Host` or 'Authority` header value.
string host = 5;String getScheme()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;com.google.protobuf.ByteString getSchemeBytes()
The HTTP URL scheme, such as `http` and `https`.
string scheme = 6;String getQuery()
The HTTP URL query in the format of `name1=value`&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;com.google.protobuf.ByteString getQueryBytes()
The HTTP URL query in the format of `name1=value`&name2=value2`, as it appears in the first line of the HTTP request. No decoding is performed.
string query = 7;String getFragment()
The HTTP URL fragment, excluding leading `#`. No URL decoding is performed.
string fragment = 8;com.google.protobuf.ByteString getFragmentBytes()
The HTTP URL fragment, excluding leading `#`. No URL decoding is performed.
string fragment = 8;long getSize()
The HTTP request size in bytes. If unknown, it must be -1.
int64 size = 9;String getProtocol()
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c"
string protocol = 10;com.google.protobuf.ByteString getProtocolBytes()
The network protocol used with the request, such as "http/1.1", "spdy/3", "h2", "h2c"
string protocol = 10;Copyright © 2019 WSO2. All rights reserved.