Article View: borland.public.jbuilder.java.api
Article #1195Re: URL authorisation info
From: George Francis
Date: Thu, 25 Apr 2002 12:21
Date: Thu, 25 Apr 2002 12:21
22 lines
1791 bytes
1791 bytes
"R.F. Pels" <ruurd@acklin.nl> wrote in message news:3cc7f206_1@dnews... > George Francis wrote: > > > Hello > > In the class, java.net.URL there is a method getAuthority, which allows > > you to view the username and password associated with the URL object. > > There is not, however, a corresponding set method. There doesn't even > > seem to be a constructor that allows you to specify this information > > during object creation. > > See: URL(String spec). > > -- > > Ruurd the API documentation isnt very helpful for this constructor - it describes the input string as "The String to parse as a URL." This doesnt bring me any closer to knowing how to include authorisation info. Do you know aof a more specific description of this parameter?
Technical Details
Message-ID:
<3cc7f461_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!colt.net!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3cc79167$1_2@dnews> <3cc7f206_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,b1b009e94468e592 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-04-25 06:11:29 PST Reply-To: "George Francis" <george_f@hotmail.com> From: "George Francis" <george_f@hotmail.com> Newsgroups: borland.public.jbuilder.java.api References: <3cc79167$1_2@dnews> <3cc7f206_1@dnews> Subject: Re: URL authorisation info Date: Thu, 25 Apr 2002 22:21:45 +1000 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 NNTP-Posting-Host: 144.137.16.28 Message-ID: <3cc7f461_2@dnews> X-Trace: dnews 1019737185 144.137.16.28 (25 Apr 2002 05:19:45 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!195.40.4.120.MISMATCH!easynet-quince!easynet.net!colt.net!newspeer.clara.net!news.clara.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!dnews