Re: How to HTTPS with authentication and extra properties?

From: Christophe Vanfleteren (c.v4nfl3t3r3n_at_pandora.be)
Date: 10/10/03


Date: Fri, 10 Oct 2003 14:58:09 GMT

carl wrote:

> The following PERL code snipet request
> (automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST)
> needs to be converted to Java2-1.3:
>
> $urlreq="https://myname:mypaswd@www.farm.com/apps
animalsX?DOG=boxer&COLOR=brown"
> $ua->agent("Mozilla/3.0");
> my $request = new HTTPS::Request('GET', $urlreq);
> $request->content_type('application/x-www-form-urlencoded');
> .
> . (collect data and save it).
> .
>
> Anyone have a snipet sample, in Java, of how I do this?
>
> HTTPS seems makes things a bit more complicated in Java.
>
> Is there just as easy a way in a Java client
> (by putting name/passwd and property data in with URL) or
> how would I submit the URL connection by creating individual
> properties?
>
> A bit lost and cornfused . . .
>
>
> TIA,
> Carl

Jakarta commons HttpClient can do https:

http://jakarta.apache.org/commons/httpclient/

-- 
Regards,
Christophe Vanfleteren


Relevant Pages

  • Re: How to HTTPS with authentication and extra properties?
    ... >(automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... >HTTPS seems makes things a bit more complicated in Java. ... >how would I submit the URL connection by creating individual ...
    (comp.lang.java)
  • Re: How to HTTPS with authentication and extra properties?
    ... >(automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... >HTTPS seems makes things a bit more complicated in Java. ... >(by putting name/passwd and property data in with URL) or ... >how would I submit the URL connection by creating individual ...
    (comp.lang.java.programmer)
  • Re: [SLE] new suse home site (merged into novells)
    ... On Thursday 02 December 2004 10:41 pm, Carl Hartung wrote: ... When I corrected the path to java and enabled javascript, ... Products, OS & stuff, Linux, SUSE LINUX Pro and I end up where Kastus did. ...
    (SuSE)
  • Re: How to HTTPS with authentication and properties??
    ... > (automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST) ... > Anyone have a snipet sample, in Java, of how I do this? ... > HTTPS seems makes things a bit more complicated in Java. ...
    (comp.lang.java.programmer)
  • Re: [SLE] java development environment
    ... carl a écrit: ... > I asked which java IDE is better on suse 9.1 and got several helpful ... Eclipse is also nice with a better user interface, ... the best tool i found to create gui java program are jbuilder ...
    (SuSE)