Class HttpReceiverOverHTTP2.ContentNotifier
java.lang.Object
org.eclipse.jetty.http2.client.http.HttpReceiverOverHTTP2.ContentNotifier
- Enclosing class:
HttpReceiverOverHTTP2
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private final Queue
<HttpReceiverOverHTTP2.ContentNotifier.DataInfo> private final HttpReceiverOverHTTP2
private boolean
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
active
(boolean resume) private void
private void
private void
offer
(org.eclipse.jetty.client.HttpExchange exchange, DataFrame frame, org.eclipse.jetty.util.Callback callback) private void
process
(boolean resume) private void
reset()
private boolean
stall()
Called when there is no demand, this method checks whether the processing should really stop or it should continue.
-
Field Details
-
queue
-
receiver
-
dataInfo
-
active
private boolean active -
resume
private boolean resume -
stalled
private boolean stalled
-
-
Constructor Details
-
ContentNotifier
-
-
Method Details
-
offer
private void offer(org.eclipse.jetty.client.HttpExchange exchange, DataFrame frame, org.eclipse.jetty.util.Callback callback) -
enqueue
-
process
private void process(boolean resume) -
active
private boolean active(boolean resume) -
stall
private boolean stall()Called when there is no demand, this method checks whether the processing should really stop or it should continue.- Returns:
- true to stop processing, false to continue processing
-
reset
private void reset() -
fail
-