We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0829cbf commit 24ffa5aCopy full SHA for 24ffa5a
src/reference/docbook/remoting.xml
@@ -1401,6 +1401,12 @@ String result =
1401
can in turn be configured with credentials information or connection
1402
pooling functionality.</para>
1403
1404
+ <tip><para>Note that the <literal>java.net</literal> implementation for
1405
+ HTTP requests may raise an exception when accessing the status of a response
1406
+ that represents an error (e.g. 401). If this is an issue, switch to
1407
+ <classname>HttpComponentsClientHttpRequestFactory</classname> instead.
1408
+ </para></tip>
1409
+
1410
<para>The previous example using Apache HttpComponents
1411
<classname>HttpClient</classname> directly rewritten to use the
1412
<classname>RestTemplate</classname> is shown below</para>
0 commit comments