final class DefaultFlowStrategy extends FlowStrategy
- Annotations
- @deprecated
- Deprecated
(Since version 0.23.18) HTTP/2 support is unmaintained and will be removed in a future version.
- Source
- DefaultFlowStrategy.scala
- Alphabetic
- By Inheritance
- DefaultFlowStrategy
- FlowStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DefaultFlowStrategy(localSettings: Http2Settings)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkSession(session: SessionFlowControl): Int
Decide if the session window needs to send a WINDOW_UPDATE frame
Decide if the session window needs to send a WINDOW_UPDATE frame
- session
the session SessionFlowControl
- returns
number of bytes to update the session flow window with.
- Definition Classes
- DefaultFlowStrategy → FlowStrategy
- Note
This must not mutate the SessionFlowControl in any way.
,This verison should only be used in situations where the stream associated with the data does not exist. For example, it may have already closed and sent a RST frame.
- def checkStream(stream: StreamFlowWindow): Increment
Decide if the stream and/or the session need a WINDOW_UPDATE frame
Decide if the stream and/or the session need a WINDOW_UPDATE frame
- stream
the stream StreamFlowWindow
- returns
the number of bytes to update the session and stream flow window with.
- Definition Classes
- DefaultFlowStrategy → FlowStrategy
- Note
This must not mutate the SessionFlowControl or the StreamFlowWindow in any way.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()