public interface HttpRequestContextOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMethod()
public abstract String getMethod()
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Returns | |
---|---|
Type | Description |
String |
The method. |
getMethodBytes()
public abstract ByteString getMethodBytes()
The type of HTTP request, such as GET
, POST
, etc.
string method = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for method. |
getReferrer()
public abstract String getReferrer()
The referrer information that is provided with the request.
string referrer = 4;
Returns | |
---|---|
Type | Description |
String |
The referrer. |
getReferrerBytes()
public abstract ByteString getReferrerBytes()
The referrer information that is provided with the request.
string referrer = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for referrer. |
getRemoteIp()
public abstract 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 | |
---|---|
Type | Description |
String |
The remoteIp. |
getRemoteIpBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for remoteIp. |
getResponseStatusCode()
public abstract int getResponseStatusCode()
The HTTP response status code for the request.
int32 response_status_code = 5;
Returns | |
---|---|
Type | Description |
int |
The responseStatusCode. |
getUrl()
public abstract String getUrl()
The URL of the request.
string url = 2;
Returns | |
---|---|
Type | Description |
String |
The url. |
getUrlBytes()
public abstract ByteString getUrlBytes()
The URL of the request.
string url = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for url. |
getUserAgent()
public abstract String getUserAgent()
The user agent information that is provided with the request.
string user_agent = 3;
Returns | |
---|---|
Type | Description |
String |
The userAgent. |
getUserAgentBytes()
public abstract ByteString getUserAgentBytes()
The user agent information that is provided with the request.
string user_agent = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for userAgent. |