Class HttpClientConfig

  • All Implemented Interfaces:
    org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

    public class HttpClientConfig
    extends WatchElement
    • Constructor Detail

      • HttpClientConfig

        public HttpClientConfig​(Integer connectionTimeoutSecs,
                                Integer readTimeoutSecs,
                                TlsConfig tlsConfig)
    • Method Detail

      • createHttpClient

        public HttpClient createHttpClient()
      • toXContent

        public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder,
                                                                            org.elasticsearch.common.xcontent.ToXContent.Params params)
                                                                     throws IOException
        Throws:
        IOException
      • create

        public static HttpClientConfig create​(com.floragunn.searchsupport.jobs.config.validation.ValidatingJsonNode jsonObject)
                                       throws com.floragunn.searchsupport.jobs.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.jobs.config.validation.ConfigValidationException