Fix example in CookieDecoder Javadoc

- CookieDecoder.decode() is a static method.
This commit is contained in:
David Dossot 2015-03-24 14:15:40 -07:00 committed by Trustin Lee
parent d43c21dab0
commit cb8a607ba5

View File

@ -31,7 +31,7 @@ import java.util.TreeSet;
* <pre> * <pre>
* {@link HttpRequest} req = ...; * {@link HttpRequest} req = ...;
* String value = req.getHeader("Cookie"); * String value = req.getHeader("Cookie");
* Set&lt;{@link Cookie}&gt; cookies = new {@link CookieDecoder}().decode(value); * Set&lt;{@link Cookie}&gt; cookies = {@link CookieDecoder}.decode(value);
* </pre> * </pre>
* *
* @see ClientCookieEncoder * @see ClientCookieEncoder