From 99d64e0d88bdcc3b00d54ee9370e052e5f949680 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Thu, 26 Sep 2019 15:56:26 +0200 Subject: [PATCH] docs: fix HttpResponseException Markup (#829) --- docs/http-transport.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/http-transport.md b/docs/http-transport.md index ab5b50bd8..c07e4eb97 100644 --- a/docs/http-transport.md +++ b/docs/http-transport.md @@ -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 @@ -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 \ No newline at end of file +[http-unsuccessful-response-handler]: https://googleapis.dev/java/google-http-client/latest/index.html?com/google/api/client/http/HttpUnsuccessfulResponseHandler.html