Uses of Class
com.google.cloud.logging.HttpRequest.Builder
Packages that use HttpRequest.Builder
Package
Description
A client for Cloud Logging - Real-time log management and analysis.
-
Uses of HttpRequest.Builder in com.google.cloud.logging
Methods in com.google.cloud.logging that return HttpRequest.BuilderModifier and TypeMethodDescriptionstatic HttpRequest.BuilderHttpRequest.newBuilder()Returns a builder forHttpRequestobjects.HttpRequest.Builder.setCacheFillBytes(long cacheFillBytes) Sets the number of HTTP response bytes inserted into cache.HttpRequest.Builder.setCacheHit(boolean cacheHit) Sets whether or not an entity was served from cache (with or without validation).HttpRequest.Builder.setCacheLookup(boolean cacheLookup) Sets whether or not a cache lookup was attempted.HttpRequest.Builder.setCacheValidatedWithOriginServer(boolean cacheValidatedWithOriginServer) Sets whether or not the response was validated with the origin server before being served from cache.HttpRequest.Builder.setLatency(org.threeten.bp.Duration latency) Sets the latency on the server, from the time the request was received until the response was sent.HttpRequest.Builder.setReferer(String referer) Sets the referer URL of the request, as defined in HTTP/1.1 Header Field Definitions.HttpRequest.Builder.setRemoteIp(String remoteIp) Sets the IP address (IPv4 or IPv6) of the client that issued the HTTP request.HttpRequest.Builder.setRequestMethod(HttpRequest.RequestMethod requestMethod) Sets the HTTP request method.HttpRequest.Builder.setRequestSize(long requestSize) Sets the size of the HTTP request message in bytes, including the request headers and the request body.HttpRequest.Builder.setRequestUrl(String requestUrl) Sets the requested URL.HttpRequest.Builder.setResponseSize(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.setServerIp(String serverIp) Sets the IP address (IPv4 or IPv6) of the origin server that the request was sent to.HttpRequest.Builder.setStatus(int status) Sets the response code indicating the status of response.HttpRequest.Builder.setUserAgent(String userAgent) Sets the user agent sent by the client.HttpRequest.toBuilder()Returns a builder for this object.