[1908] in java-interest

home help back first fref pref prev next nref lref last post

Re: POST URL (Fwd)

daemon@ATHENA.MIT.EDU (James Gosling)
Tue Sep 19 20:12:01 1995

Date: Tue, 19 Sep 1995 14:06:53 +0800
From: jag@scndprsn.Eng.Sun.COM (James Gosling)
To: cd4v@server.cs.virginia.edu
Cc: Arthur.Vanhoff@Eng.Sun.COM, java-interest@java.Eng.Sun.COM

> I am still not sure how the java team envisioned creating POST URL's with 
> the JDK
...
> Q: Does anybody know how to create a POST URL with the pre-beta release ?

If you look at URLConnection you'll notice that besides having a
"getInputStream" method there is a "getOutputStream" method.  URL's
become bi-directional.  If you only ever ask for input, the http
protocol handler does a GET.  If you only ever ask for output, the http
protocol handler will *in*a*future*release* do a PUT.

The short answer is that it's not possible with the pre-beta release.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post