Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed HttpResponseException Markup (#1) #829

Merged
merged 1 commit into from Sep 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/http-transport.md
Expand Up @@ -86,7 +86,7 @@ that also, use `Level.ALL` instead of `Level.CONFIG`.
## Handling HTTP error responses

When an HTTP error response (an HTTP status code of 300 or higher) is received,
[`HttpRequest.execute()`][request-execute] throws an [`HttpResponseException`][response-exeception].
[`HttpRequest.execute()`][request-execute] throws an [`HttpResponseException`][response-exception].
Here's an example usage:

```java
Expand Down Expand Up @@ -133,4 +133,4 @@ HttpRequestFactory requestFactory = transport.createRequestFactory(new MyInitial
[file-handler]: https://docs.oracle.com/javase/7/docs/api/java/util/logging/FileHandler.html
[request-execute]: https://googleapis.dev/java/google-http-client/latest/com/google/api/client/http/HttpRequest.html#execute--
[response-exception]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpResponseException.html
[http-unsuccessful-response-handler]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpUnsuccessfulResponseHandler.html
[http-unsuccessful-response-handler]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpUnsuccessfulResponseHandler.html