HttpContext and HttpClient are classes from Apache HTTP Commons. Refer to their 
documentation for more information. HttpAuthenticator is a Jena type that 
handles, exactly as the name would imply, HTTP authentication, if such is 
required:

https://jena.apache.org/documentation/javadoc/arq/org/apache/jena/atlas/web/auth/HttpAuthenticator.html

It took me a few seconds to find that Javadoc on the Web with a search engine.

HttpAuthenticator will very likely be deprecated in a future version of Jena. 
You can prepare for this now by using only authentication functionality 
directly from Apache HTTP Commons by building an authenticating HttpClient for 
use with HttpOp. 

Or you can just use Apache HTTP Commons classes directly instead of reusing 
HttpOp.

---
A. Soroka
The University of Virginia Library

> On Aug 31, 2016, at 1:41 AM, Ganesh Kumar <[email protected]> wrote:
> 
> What exactly HttpContext , HttpAuthenticator ,HttpClient do in
> execHttpGet(...) function ? I tried to google it but I couldn't find
> explaination about them and how and where to use them?
> 
> -- 
> 
> 
> *Disclaimer:*
> 
> 
> * "This message is intended only for the use of the addressee and may 
> contain information that is privileged, confidential and exempt from 
> disclosure under applicable law. If the reader of this message is not the 
> intended recipient, or the employee or agent responsible for delivering the 
> message to the intended recipient, you are hereby notified that 
> any dissemination, distribution or copying of this communication is 
> strictly prohibited. If you have received this e-mail in error, please 
> notify us immediately by return e-mail and delete this e-mail and all 
> attachments from your system."*

Reply via email to