Interface HttpRequestContextOrBuilder (0.140.0-beta)

public interface HttpRequestContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMethod()

public abstract String getMethod()

The type of HTTP request, such as GET, POST, etc.

string method = 1;

Returns
TypeDescription
String

The method.

getMethodBytes()

public abstract ByteString getMethodBytes()

The type of HTTP request, such as GET, POST, etc.

string method = 1;

Returns
TypeDescription
ByteString

The bytes for method.

getReferrer()

public abstract String getReferrer()

The referrer information that is provided with the request.

string referrer = 4;

Returns
TypeDescription
String

The referrer.

getReferrerBytes()

public abstract ByteString getReferrerBytes()

The referrer information that is provided with the request.

string referrer = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for remoteIp.

getResponseStatusCode()

public abstract int getResponseStatusCode()

The HTTP response status code for the request.

int32 response_status_code = 5;

Returns
TypeDescription
int

The responseStatusCode.

getUrl()

public abstract String getUrl()

The URL of the request.

string url = 2;

Returns
TypeDescription
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The URL of the request.

string url = 2;

Returns
TypeDescription
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
TypeDescription
String

The userAgent.

getUserAgentBytes()

public abstract ByteString getUserAgentBytes()

The user agent information that is provided with the request.

string user_agent = 3;

Returns
TypeDescription
ByteString

The bytes for userAgent.