net.nutch.protocol.http
Class Http
java.lang.Object
net.nutch.protocol.http.Http
- All Implemented Interfaces:
- Protocol
- public class Http
- extends Object
- implements Protocol
An implementation of the Http protocol.
Constructor Summary |
Http()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final Logger LOG
Http
public Http()
getContent
public Content getContent(String urlString)
throws ProtocolException
- Description copied from interface:
Protocol
- Returns the
Content
for a url.
- Specified by:
getContent
in interface Protocol
- Throws:
ProtocolException
main
public static void main(String[] args)
throws Exception
- For debugging.
- Throws:
Exception
Copyright © 2004 The Nutch Organization.