Bug 22736 - inetlib handler classes have wrong names
Summary: inetlib handler classes have wrong names
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 enhancement
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-29 01:18 UTC by from-classpath
Modified: 2005-07-23 22:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2004-04-29 01:18:00 UTC
The classes in the inetlib protocol handler packages
don't have the names expected by the classpath core code.
E.g., where inetlib has NNTPConnection, Classpath
expects just "Connection".
Until this change is made, inetlib classes can't be used
directly by classpath as protocol handlers.
Comment 1 from-classpath 2004-05-03 16:27:58 UTC
Classpath expects to see a class "Handler" in the search path for URL stream handlers. So far we only have 2 stream handlers in inetlib (for FTP and Gopher). I have changed the names of these, so they can be looked up automatically by Classpath. The protocol handlers for the various mailbox/mailto protocols should probably leverage the JavaMail API.
Comment 2 from-classpath 2004-06-07 20:14:56 UTC
Added URLStreamHandler handler class with name "Handler" for finger URL scheme.