Http2Stream

Constructors

this
this(Scheduler scheduler, SessionSPI session, int streamId, bool local)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
data
void data(DataFrame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttribute
Object getAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
getId
int getId()
Undocumented in source. Be warned that the author may not have intended to support it.
getListener
Listener getListener()
Undocumented in source. Be warned that the author may not have intended to support it.
getRecvWindow
int getRecvWindow()
Undocumented in source. Be warned that the author may not have intended to support it.
getSendWindow
int getSendWindow()
Undocumented in source. Be warned that the author may not have intended to support it.
getSession
SessionSPI getSession()
Undocumented in source. Be warned that the author may not have intended to support it.
headers
void headers(HeadersFrame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
isClosed
bool isClosed()
Undocumented in source. Be warned that the author may not have intended to support it.
isLocal
bool isLocal()
Undocumented in source. Be warned that the author may not have intended to support it.
isLocallyClosed
bool isLocallyClosed()
Undocumented in source. Be warned that the author may not have intended to support it.
isOpen
bool isOpen()
Undocumented in source. Be warned that the author may not have intended to support it.
isRemotelyClosed
bool isRemotelyClosed()
Undocumented in source. Be warned that the author may not have intended to support it.
isReset
bool isReset()
Undocumented in source. Be warned that the author may not have intended to support it.
onIdleExpired
void onIdleExpired(TimeoutException timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
process
void process(Frame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
push
void push(PushPromiseFrame frame, Promise!Stream promise, Listener listener)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAttribute
Object removeAttribute(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
reset
void reset(ResetFrame frame, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setAttribute
void setAttribute(string key, Object value)
Undocumented in source. Be warned that the author may not have intended to support it.
setListener
void setListener(Listener listener)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
updateClose
bool updateClose(bool update, CloseStateEvent event)
Undocumented in source. Be warned that the author may not have intended to support it.
updateRecvWindow
int updateRecvWindow(int delta)
Undocumented in source. Be warned that the author may not have intended to support it.
updateSendWindow
int updateSendWindow(int delta)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From StreamSPI

isLocal
bool isLocal()

@return whether this stream is local or remote

getSession
SessionSPI getSession()
Undocumented in source.
getListener
Listener getListener()

@return the {@link hunt.http.codec.http.stream.Stream.Listener} associated with this stream @see #setListener(Stream.Listener)

setListener
void setListener(Listener listener)

@param listener the {@link hunt.http.codec.http.stream.Stream.Listener} associated with this stream @see #getListener()

process
void process(Frame frame, Callback callback)

<p>Processes the given {@code frame}, belonging to this stream.</p>

updateClose
bool updateClose(bool update, CloseStateEvent event)

<p>Updates the close state of this stream.</p>

close
void close()

<p>Forcibly closes this stream.</p>

updateSendWindow
int updateSendWindow(int delta)

<p>Updates the stream send window by the given {@code delta}.</p>

updateRecvWindow
int updateRecvWindow(int delta)

<p>Updates the stream receive window by the given {@code delta}.</p>

isRemotelyClosed
bool isRemotelyClosed()

@return whether the stream is closed remotely. @see #isClosed()

Meta