<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set the connectTimeout() and readTimeout() using splunk API Java SDK? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-connectTimeout-and-readTimeout-using-splunk-API/m-p/432847#M7768</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using splunk jar 1.6.0.0 and as per the Splunk github, it shows HttpService has methods to set the readTimeout() &amp;amp; connectTimeout() but when Splunk jar 1.6.0.0, we could see only below methods in HttpService.&lt;BR /&gt;
createSSLFactory()&lt;BR /&gt;
getSslSecurityProtocol()&lt;BR /&gt;
getSSLSocketFactory()&lt;BR /&gt;
setSslSecurityProtocol()&lt;BR /&gt;
setSSLScoketFactory() only.&lt;/P&gt;

&lt;P&gt;We want to set those timeouts explicitly as the requests to splunk hangs there. Can somebody help as how the connectTimeout() and readTimeout() can be set using Splunk API java SDK?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 14:53:23 GMT</pubDate>
    <dc:creator>dunet</dc:creator>
    <dc:date>2018-08-28T14:53:23Z</dc:date>
    <item>
      <title>How to set the connectTimeout() and readTimeout() using splunk API Java SDK?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-connectTimeout-and-readTimeout-using-splunk-API/m-p/432847#M7768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am using splunk jar 1.6.0.0 and as per the Splunk github, it shows HttpService has methods to set the readTimeout() &amp;amp; connectTimeout() but when Splunk jar 1.6.0.0, we could see only below methods in HttpService.&lt;BR /&gt;
createSSLFactory()&lt;BR /&gt;
getSslSecurityProtocol()&lt;BR /&gt;
getSSLSocketFactory()&lt;BR /&gt;
setSslSecurityProtocol()&lt;BR /&gt;
setSSLScoketFactory() only.&lt;/P&gt;

&lt;P&gt;We want to set those timeouts explicitly as the requests to splunk hangs there. Can somebody help as how the connectTimeout() and readTimeout() can be set using Splunk API java SDK?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:53:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-set-the-connectTimeout-and-readTimeout-using-splunk-API/m-p/432847#M7768</guid>
      <dc:creator>dunet</dc:creator>
      <dc:date>2018-08-28T14:53:23Z</dc:date>
    </item>
  </channel>
</rss>

