update javadoc of input state methods
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
cd4166ce5b
commit
2231e6496e
|
@ -1286,6 +1286,10 @@ public class HttpChannelState
|
||||||
return woken;
|
return woken;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called to indicate that some content was produced and is
|
||||||
|
* ready for consumption.
|
||||||
|
*/
|
||||||
public void onContentAdded()
|
public void onContentAdded()
|
||||||
{
|
{
|
||||||
try (AutoLock l = lock())
|
try (AutoLock l = lock())
|
||||||
|
@ -1307,6 +1311,9 @@ public class HttpChannelState
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Called to indicate that the content is being consumed.
|
||||||
|
*/
|
||||||
public void onReadIdle()
|
public void onReadIdle()
|
||||||
{
|
{
|
||||||
try (AutoLock l = lock())
|
try (AutoLock l = lock())
|
||||||
|
@ -1329,9 +1336,9 @@ public class HttpChannelState
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called to indicate that more content may be available,
|
* Called to indicate that no content is currently available,
|
||||||
* but that a handling thread may need to produce (fill/parse)
|
* more content has been demanded and may be available, but
|
||||||
* it. Typically called by the async read success callback.
|
* that a handling thread may need to produce (fill/parse) it.
|
||||||
*/
|
*/
|
||||||
public void onReadUnready()
|
public void onReadUnready()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue