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 booleanprivate final Queue<HttpReceiverOverHTTP2.ContentNotifier.DataInfo> private final HttpReceiverOverHTTP2private booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanactive(boolean resume) private voidprivate voidprivate voidoffer(org.eclipse.jetty.client.HttpExchange exchange, DataFrame frame, org.eclipse.jetty.util.Callback callback) private voidprocess(boolean resume) private voidreset()private booleanstall()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
-