Class ApacheHC5RDF4JHttpClient

java.lang.Object
org.eclipse.rdf4j.http.client.apache5.ApacheHC5RDF4JHttpClient
All Implemented Interfaces:
AutoCloseable, RDF4JHttpClient

public class ApacheHC5RDF4JHttpClient extends Object implements RDF4JHttpClient
RDF4JHttpClient implementation backed by Apache HttpComponents 5.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApacheHC5RDF4JHttpClient(org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, int maxConnectionsPerRoute, org.apache.hc.client5.http.config.RequestConfig defaultRequestConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes this client and releases any resources held (e.g., connection pools, threads).
    Executes the given HTTP request and returns the response.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ApacheHC5RDF4JHttpClient

      public ApacheHC5RDF4JHttpClient(org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, int maxConnectionsPerRoute, org.apache.hc.client5.http.config.RequestConfig defaultRequestConfig)
  • Method Details