URLConnection | HttpClient (browser) |
Supports HEAD, GET, POST, PUT, DELETE, TRACE and OPTIONS
| Supports HEAD, GET, POST, PUT, DELETE, TRACE and OPTIONS.
|
Does not support cookies.
| Does support cookies.
|
Can handle protocols other than http like ftp, gopher, mailto and file.
| Handles only http.
|
48. How will you call a Web server from a stand alone Java application
Using the java.net.URLConnection and its subclasses like HttpURLConnection and JarURLConnection.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment