FSF GCC merge 02/23/03
[official-gcc.git] / libjava / gnu / gcj / protocol / http / Handler.java
blobccf94e762c53b059061a7f63cc6b6dc6570e4d41
1 // Handler.java - URLStreamHandler for http protocol.
3 /* Copyright (C) 1999 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9 details. */
11 package gnu.gcj.protocol.http;
13 import java.net.URL;
14 import java.net.URLConnection;
15 import java.net.URLStreamHandler;
16 import java.io.IOException;
18 /**
19 * @author Warren Levy <warrenl@cygnus.com>
20 * @date March 26, 1999.
23 /**
24 * Written using on-line Java Platform 1.2 API Specification, as well
25 * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
26 * Status: Minimal functionality.
29 public class Handler extends URLStreamHandler
31 protected URLConnection openConnection(URL url) throws IOException
33 return new Connection(url);