Package akka.http.impl.engine.http2
Interface Http2StreamHandling.OutStream
-
- All Known Implementing Classes:
Http2StreamHandling.OutStreamImpl
- Enclosing interface:
- Http2StreamHandling
public static interface Http2StreamHandling.OutStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancelStream()booleancanSend()scala.Option<FrameEvent>endStreamIfPossible()booleanincreaseWindow(int delta)booleanisDone()FrameEvent.DataFramenextFrame(int maxBytesToSend)intstreamId()
-
-
-
Method Detail
-
streamId
int streamId()
-
canSend
boolean canSend()
-
cancelStream
void cancelStream()
-
endStreamIfPossible
scala.Option<FrameEvent> endStreamIfPossible()
-
nextFrame
FrameEvent.DataFrame nextFrame(int maxBytesToSend)
-
increaseWindow
boolean increaseWindow(int delta)
- Parameters:
delta- (undocumented)- Returns:
- true if the window was increased, false if it would have exceeded the maximum allowed value (2^31-1), in which case the window was left untouched
-
isDone
boolean isDone()
-
-