java.lang.Object
org.apache.jena.http.HttpEnv
JVM wide settings.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RDFFormat
static final RDFFormat
static int
Maximum length of URL for GET requests for SPARQL queries (SPARQL 1.1 Protocol). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpClient
static HttpClient
getHttpClient
(String url, HttpClient specificHttpClient) Return theHttpClient
based on URL and a possible pre-selectedHttpClient
.static HttpClient.Builder
static void
reset()
Reset any Jena system state related to HTTPstatic void
setDftHttpClient
(HttpClient dftHttpClient)
-
Field Details
-
defaultTriplesFormat
-
defaultQuadsFormat
-
urlLimit
public static int urlLimitMaximum length of URL for GET requests for SPARQL queries (SPARQL 1.1 Protocol). Above this limit, the code switches to using the HTTP POST form.
-
-
Constructor Details
-
HttpEnv
public HttpEnv()
-
-
Method Details
-
getDftHttpClient
-
setDftHttpClient
-
getHttpClient
Return theHttpClient
based on URL and a possible pre-selectedHttpClient
. -
httpClientBuilder
-
reset
public static void reset()Reset any Jena system state related to HTTP
-