| Package | Description |
|---|---|
| com.google.cloud.logging |
A client to Stackdriver Logging.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpRequest.Builder |
HttpRequest.builder()
Returns a builder for
HttpRequest objects. |
HttpRequest.Builder |
HttpRequest.Builder.cacheHit(boolean cacheHit)
Sets whether or not an entity was served from cache (with or without validation).
|
HttpRequest.Builder |
HttpRequest.Builder.cacheValidatedWithOriginServer(boolean cacheValidatedWithOriginServer)
Sets whether or not the response was validated with the origin server before being served
from cache.
|
HttpRequest.Builder |
HttpRequest.Builder.referer(String referer)
Sets the referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.
|
HttpRequest.Builder |
HttpRequest.Builder.remoteIp(String remoteIp)
Sets the IP address (IPv4 or IPv6) of the client that issued the HTTP request.
|
HttpRequest.Builder |
HttpRequest.Builder.requestMethod(HttpRequest.RequestMethod requestMethod)
Sets the HTTP request method.
|
HttpRequest.Builder |
HttpRequest.Builder.requestSize(long requestSize)
Sets the size of the HTTP request message in bytes, including the request headers and the
request body.
|
HttpRequest.Builder |
HttpRequest.Builder.requestUrl(String requestUrl)
Sets the requested URL.
|
HttpRequest.Builder |
HttpRequest.Builder.responseSize(long responseSize)
Sets the size of the HTTP response message sent back to the client, in bytes, including the
response headers and the response body.
|
HttpRequest.Builder |
HttpRequest.Builder.status(int status)
Sets the response code indicating the status of response.
|
HttpRequest.Builder |
HttpRequest.toBuilder()
Returns a builder for this object.
|
HttpRequest.Builder |
HttpRequest.Builder.userAgent(String userAgent)
Sets the user agent sent by the client.
|
Copyright © 2016 Google. All rights reserved.