ContentHandler
Class ContentHandler
- java.lang.Object
-
- java.net.ContentHandler
public abstract class ContentHandler extends Object
The abstract class ContentHandler
is the superclass of all classes that read an Object
from a URLConnection
.
An application does not generally call the getContent
method in this class directly. Instead, an application calls the getContent
method in class URL
or in URLConnection
. The application's content handler factory (an instance of a class that implements the interface ContentHandlerFactory
set up by a call to setContentHandler
) is called with a String
giving the MIME type of the object being received on the socket. The f