org.apache.nutch.protocol.httpclient
Class Http

java.lang.Object
  extended byorg.apache.nutch.protocol.httpclient.Http
All Implemented Interfaces:
Protocol

public class Http
extends Object
implements Protocol

An implementation of the Http protocol.


Field Summary
static Logger LOG
           
 
Fields inherited from interface org.apache.nutch.protocol.Protocol
X_POINT_ID
 
Constructor Summary
Http()
           
 
Method Summary
 ProtocolOutput getProtocolOutput(FetchListEntry fle)
          Returns the Content for a fetchlist entry.
 ProtocolOutput getProtocolOutput(String urlString)
          Returns the Content for a url.
static void main(String[] args)
          For debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final Logger LOG
Constructor Detail

Http

public Http()
Method Detail

getProtocolOutput

public ProtocolOutput getProtocolOutput(String urlString)
Description copied from interface: Protocol
Returns the Content for a url. This method may be more limited than Protocol.getProtocolOutput(FetchListEntry).

Specified by:
getProtocolOutput in interface Protocol

getProtocolOutput

public ProtocolOutput getProtocolOutput(FetchListEntry fle)
Description copied from interface: Protocol
Returns the Content for a fetchlist entry.

Specified by:
getProtocolOutput in interface Protocol

main

public static void main(String[] args)
                 throws Exception
For debugging.

Throws:
Exception


Copyright © 2006 The Apache Software Foundation