my dog learned polymorphism*
The moose likes Sockets and Internet Protocols and the fly likes Opening secured URL connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Opening secured URL connection" Watch "Opening secured URL connection" New topic
Author

Opening secured URL connection

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
How can you open a secured URL connection to an URL?
Thanks
Sanjay
maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
the secured connection just depends upon the protocol u r using
urlconnection uses http as protocol
what u have to do for secure connection is to use https as protocol

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
Thanks.
How to open a secured connection using HTTPS is my question. The only syntax I know is url.openconnection(). I am not aware of any options here.
Sanjay
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Opening secured URL connection