This commit is contained in:
zzz
2010-11-14 15:01:52 +00:00
parent 1e0e24826e
commit c890f61d0b

View File

@ -10,7 +10,7 @@ import net.i2p.I2PAppContext;
/** /**
* This is a quick hack to get a working EepHead, primarily for the following usage: * This is a quick hack to get a working EepHead, primarily for the following usage:
* * <pre>
* EepHead foo = new EepHead(...); * EepHead foo = new EepHead(...);
* if (foo.fetch()) { * if (foo.fetch()) {
* String lastmod = foo.getLastModified(); * String lastmod = foo.getLastModified();
@ -19,12 +19,14 @@ import net.i2p.I2PAppContext;
* ... * ...
* } * }
* } * }
* * </pre>
* Other use cases (command line, listeners, etc...) lightly- or un-tested. * Other use cases (command line, listeners, etc...) lightly- or un-tested.
* Note that this follows redirects! This may not be what you want or expect.
* *
* Writing from scratch rather than extending EepGet would maybe have been less bloated memory-wise. * Writing from scratch rather than extending EepGet would maybe have been less bloated memory-wise.
* This way gets us redirect handling, among other benefits. * This way gets us redirect handling, among other benefits.
* *
* @since 0.7.7
* @author zzz * @author zzz
*/ */
public class EepHead extends EepGet { public class EepHead extends EepGet {