| Modifier and Type | Class and Description |
|---|---|
| public static class | HTTP2Stream.
An ordered list of frames belonging to the same stream. |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| private final AtomicReference | |
| private final AtomicReference | |
| private boolean | |
| private final long | |
| private boolean | |
| private long | |
| private final Deque | |
| private boolean | |
| private long | |
| private Throwable | |
| private long | |
| private Stream. | |
| private final boolean | |
| private boolean | |
| private final AutoLock | |
| private static final Logger | |
| private final AtomicInteger | |
| private boolean | |
| private final MetaData. | |
| private Callback | |
| private final AtomicInteger | |
| private final HTTP2Session | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private ConcurrentMap | |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| public void | |
| public void | data(DataFrame
the DATA frame to send frame, Callback the callback that gets notified when the frame has been sent callback)Implements org. Sends the given DATA |
| private int | |
| public void | demand()
Implements org. Demands more |
| private int | |
| public String | |
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Implements org. Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| private Callback | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public void | failed(Throwable
the reason for the operation failure x)Overrides default org. Callback invoked when the operation fails. |
| public Object | |
| public Object | getAttribute(String
the attribute key key)Implements org.
|
| public long | |
| public long | getExpireNanoTime()
Implements org. Returns the expiration time in nanoseconds. |
| public int | |
| public long | |
| public Invocable. | |
| public Stream. | getListener()
Implements org. Get the |
| public int | |
| public int | |
| public HTTP2Session | getSession()
Implements org. Get the session this stream is associated to. |
| private boolean | |
| public int | |
| public void | headers(HeadersFrame
the HEADERS frame to send frame, Callback the callback that gets notified when the frame has been sent callback)Implements org. Sends the given HEADERS |
| public boolean | |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| private void | |
| private void | |
| private void | |
| protected void | |
| private void | |
| private void | |
| private void | |
| private boolean | |
| public void | |
| private void | |
| private void | |
| private void | |
| protected void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | push(PushPromiseFrame
the PUSH_PROMISE frame to send frame, Promise<Stream> the promise that gets notified of the pushed stream creation promise, Stream.the listener that gets notified of stream events listenerImplements org. Sends the given PUSH_PROMISE |
| public Stream. | readData()
Implements org. Reads DATA frames from this stream, wrapping them in retainable
|
| public Object | removeAttribute(String
the attribute key key)Implements org.
|
| public void | reset(ResetFrame
the RST_STREAM frame to send frame, Callback the callback that gets notified when the frame has been sent callback)Implements org. Sends the given RST_STREAM |
| public void | |
| public void | setAttachment(Object
the object to attach to this instance attachment)Implements org. Attaches the given object to this stream for later retrieval. |
| public void | setAttribute(String
the attribute key key, Object an arbitrary object to associate with the given key to this stream value)Implements org.
|
| public void | setIdleTimeout(long
the stream idle timeout idleTimeout)Implements org.
|
| public void | |
| private boolean | |
| public void | succeeded()
Overrides default org. Callback invoked when the operation completes. |
| public String | |
| public boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| public int | |
| public int | |
| private void |