Package | Description |
---|---|
com.google.api.client.http |
Subset of HTTP 1.1 needed from the specification in RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseException.Builder |
HttpResponseException.Builder.setAttemptCount(int attemptCount)
Sets the attempt count for the related HTTP request execution.
|
HttpResponseException.Builder |
HttpResponseException.Builder.setContent(String content)
Sets the HTTP response content or
null for none. |
HttpResponseException.Builder |
HttpResponseException.Builder.setHeaders(HttpHeaders headers)
Sets the HTTP response headers.
|
HttpResponseException.Builder |
HttpResponseException.Builder.setMessage(String message)
Sets the detail message to use or
null for none. |
HttpResponseException.Builder |
HttpResponseException.Builder.setStatusCode(int statusCode)
Sets the HTTP status code or
0 for none. |
HttpResponseException.Builder |
HttpResponseException.Builder.setStatusMessage(String statusMessage)
Sets the HTTP status message or
null for none. |
Constructor and Description |
---|
HttpResponseException(HttpResponseException.Builder builder) |
Copyright © 2011–2023 Google. All rights reserved.