01: // Handler.java
02: // $Id: Handler.java,v 1.4 2000/08/16 21:38:02 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.www.protocol.http;
07:
08: import java.net.URL;
09: import java.net.URLConnection;
10: import java.net.URLStreamHandler;
11:
12: import java.io.IOException;
13:
14: public class Handler extends URLStreamHandler {
15:
16: protected URLConnection openConnection(URL u) throws IOException {
17: return new HttpURLConnection(u);
18: }
19:
20: }
|