Interface HttpRequestContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HttpRequestContext
,HttpRequestContext.Builder
public interface HttpRequestContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getMethod()
The type of HTTP request, such as `GET`, `POST`, etc.com.google.protobuf.ByteString
getMethodBytes()
The type of HTTP request, such as `GET`, `POST`, etc.String
getReferrer()
The referrer information that is provided with the request.com.google.protobuf.ByteString
getReferrerBytes()
The referrer information that is provided with the request.String
getRemoteIp()
The IP address from which the request originated.com.google.protobuf.ByteString
getRemoteIpBytes()
The IP address from which the request originated.int
getResponseStatusCode()
The HTTP response status code for the request.String
getUrl()
The URL of the request.com.google.protobuf.ByteString
getUrlBytes()
The URL of the request.String
getUserAgent()
The user agent information that is provided with the request.com.google.protobuf.ByteString
getUserAgentBytes()
The user agent information that is provided with the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMethod
String getMethod()
The type of HTTP request, such as `GET`, `POST`, etc.
string method = 1;
- Returns:
- The method.
-
getMethodBytes
com.google.protobuf.ByteString getMethodBytes()
The type of HTTP request, such as `GET`, `POST`, etc.
string method = 1;
- Returns:
- The bytes for method.
-
getUrl
String getUrl()
The URL of the request.
string url = 2;
- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()
The URL of the request.
string url = 2;
- Returns:
- The bytes for url.
-
getUserAgent
String getUserAgent()
The user agent information that is provided with the request.
string user_agent = 3;
- Returns:
- The userAgent.
-
getUserAgentBytes
com.google.protobuf.ByteString getUserAgentBytes()
The user agent information that is provided with the request.
string user_agent = 3;
- Returns:
- The bytes for userAgent.
-
getReferrer
String getReferrer()
The referrer information that is provided with the request.
string referrer = 4;
- Returns:
- The referrer.
-
getReferrerBytes
com.google.protobuf.ByteString getReferrerBytes()
The referrer information that is provided with the request.
string referrer = 4;
- Returns:
- The bytes for referrer.
-
getResponseStatusCode
int getResponseStatusCode()
The HTTP response status code for the request.
int32 response_status_code = 5;
- Returns:
- The responseStatusCode.
-
getRemoteIp
String getRemoteIp()
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
- Returns:
- The remoteIp.
-
getRemoteIpBytes
com.google.protobuf.ByteString getRemoteIpBytes()
The IP address from which the request originated. This can be IPv4, IPv6, or a token which is derived from the IP address, depending on the data that has been provided in the error report.
string remote_ip = 6;
- Returns:
- The bytes for remoteIp.
-
-