Package no.hasmac.jsonld.loader
Class HttpLoader
java.lang.Object
no.hasmac.jsonld.loader.DefaultHttpLoader
no.hasmac.jsonld.loader.HttpLoader
- All Implemented Interfaces:
DocumentLoader
-
Field Summary
FieldsFields inherited from class no.hasmac.jsonld.loader.DefaultHttpLoader
MAX_REDIRECTIONS
-
Constructor Summary
ConstructorsConstructorDescriptionHttpLoader
(HttpClient httpClient) Deprecated.HttpLoader
(HttpClient httpClient, int maxRedirections) Deprecated.useHttpLoader(no.hasmac.jsonld.http.HttpClient httpClient, int maxRedirection)
HttpLoader
(HttpClient httpClient) HttpLoader
(HttpClient httpClient, int maxRedirections) -
Method Summary
Methods inherited from class no.hasmac.jsonld.loader.DefaultHttpLoader
getAcceptHeader, getAcceptHeader, loadDocument, setFallbackContentType
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
HttpLoader
Deprecated.useHttpLoader(no.hasmac.jsonld.http.HttpClient httpClient)
- Parameters:
httpClient
-
-
HttpLoader
Deprecated.useHttpLoader(no.hasmac.jsonld.http.HttpClient httpClient, int maxRedirection)
- Parameters:
httpClient
-maxRedirections
-
-
HttpLoader
-
HttpLoader
-
-
Method Details
-
defaultInstance
-
HttpLoader(no.hasmac.jsonld.http.HttpClient httpClient)