gnu.inet.http

Class Handler


public class Handler
extends URLStreamHandler

An HTTP URL stream handler.

Author:
Chris Burdess

Method Summary

protected int
getDefaultPort()
Returns the default HTTP port (80).
URLConnection
openConnection(URL url)
Returns an HTTPURLConnection for the given URL.

Method Details

getDefaultPort

protected int getDefaultPort()
Returns the default HTTP port (80).


openConnection

public URLConnection openConnection(URL url)
            throws IOException
Returns an HTTPURLConnection for the given URL.


© Copyright 2003 The Free Software Foundation, all rights reserved