From fb04ee8fbddcca1698be38ffd73a6dace01703b8 Mon Sep 17 00:00:00 2001 From: Thomas Becker Date: Fri, 26 Jul 2013 17:38:17 +0200 Subject: [PATCH] QueuedHttpInput fix javadoc --- .../main/java/org/eclipse/jetty/server/QueuedHttpInput.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/QueuedHttpInput.java b/jetty-server/src/main/java/org/eclipse/jetty/server/QueuedHttpInput.java index 4150192f3f1..560b72866a9 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/QueuedHttpInput.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/QueuedHttpInput.java @@ -20,10 +20,8 @@ package org.eclipse.jetty.server; import java.io.IOException; import java.io.InterruptedIOException; - import javax.servlet.ServletInputStream; -import org.eclipse.jetty.io.RuntimeIOException; import org.eclipse.jetty.util.ArrayQueue; import org.eclipse.jetty.util.log.Log; import org.eclipse.jetty.util.log.Logger; @@ -34,7 +32,7 @@ import org.eclipse.jetty.util.log.Logger; *

{@link QueuedHttpInput} stores the items directly; if the items contain byte buffers, it does not copy them * but simply holds references to the item, thus the caller must organize for those buffers to valid while * held by this class.

- *

To assist the caller, subclasses may override methods {@link #onContentQueued(T)}, + *

To assist the caller, subclasses may override methods {@link #onAsyncRead()}, * {@link #onContentConsumed(T)} and {@link #onAllContentConsumed()} that can be implemented so that the * caller will know when buffers are queued and consumed.

*/ @@ -77,7 +75,7 @@ public abstract class QueuedHttpInput extends HttpInput onContentConsumed(item); LOG.debug("{} consumed {}", this, item); item = _inputQ.peekUnsafe(); - + // If that was the last item then notify if (item==null) onAllContentConsumed();