Hi ,
Im desparately in need of a way to build an application that would function as a Proxy Server that would intervene HTTP Requests and deal with requests to particular sites ( especially Search Engine sites defined in the config file ). I browsed this on the net for such possible tutorials/samples and found that many have advised to use the URL and URLConnection classes to build the Proxy Server. But Im clueless how to do this.
I got hold of some source code for building a Web Proxy Server from , but that doesnt use the URL and URLConnection classes . Worst of all the source code provided wouldnt compile properly. I even tried decompililng the classfiles and got it to work, but that wouldnt show me the functionality prpoerly.
So could you guys kindly giv me sum pointers on how I should accomplish this task using URL or URLConnection ? Source code would be ideally helpful to gain an insight to see how the app shud function. I would greatly appreciate this favour.
Im desparately in need of a way to build an application that would function as a Proxy Server that would intervene HTTP Requests and deal with requests to particular sites ( especially Search Engine sites defined in the config file ). I browsed this on the net for such possible tutorials/samples and found that many have advised to use the URL and URLConnection classes to build the Proxy Server. But Im clueless how to do this.
I got hold of some source code for building a Web Proxy Server from , but that doesnt use the URL and URLConnection classes . Worst of all the source code provided wouldnt compile properly. I even tried decompililng the classfiles and got it to work, but that wouldnt show me the functionality prpoerly.
So could you guys kindly giv me sum pointers on how I should accomplish this task using URL or URLConnection ? Source code would be ideally helpful to gain an insight to see how the app shud function. I would greatly appreciate this favour.