com.ibm.gcs.netutil
Class GCSHttpContentHandler
java.lang.Object
|
+--java.net.ContentHandler
|
+--com.ibm.gcs.netutil.GCSHttpContentHandler
- public class GCSHttpContentHandler
- extends java.net.ContentHandler
The GCSHttpContentHandler extends the java.net.ContentHandler class.
The ContentHandler clas is responsible for actually decoding the contents a
URL. When the getContent() method of the class URL is called, then a
connection to the object is made by the protocol chaing, and the
content chain will call an instance of this class to actually obtain
the content/decode it.
The GCSContentHandlerFactory sets up the GCSHttpContentHandler to
handle resources accessed through the "http" protocol.
- See Also:
GCSContentHandlerFactory
Method Summary |
java.lang.Object |
getContent(java.net.URLConnection uc)
|
Methods inherited from class java.net.ContentHandler |
getContent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCSHttpContentHandler
public GCSHttpContentHandler()
getContent
public java.lang.Object getContent(java.net.URLConnection uc)
throws java.io.IOException
- Overrides:
getContent
in class java.net.ContentHandler
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.