public class Stream extends Object implements HpackDecoder.HeaderEmitter
Constructor and Description |
---|
Stream(Integer identifier,
Http2UpgradeHandler handler) |
Stream(Integer identifier,
Http2UpgradeHandler handler,
Request coyoteRequest) |
Modifier and Type | Method and Description |
---|---|
protected void |
decrementWindowSize(int decrement) |
protected void |
doNotifyAll() |
void |
emitHeader(String name,
String value,
boolean neverIndex) |
protected String |
getConnectionId() |
Integer |
getIdentifier() |
protected int |
getWeight() |
protected long |
getWindowSize() |
protected void |
incrementWindowSize(int windowSizeIncrement)
Increment window size.
|
protected void |
setWindowSize(long windowSize) |
public Stream(Integer identifier, Http2UpgradeHandler handler)
public Stream(Integer identifier, Http2UpgradeHandler handler, Request coyoteRequest)
protected void incrementWindowSize(int windowSizeIncrement) throws Http2Exception
windowSizeIncrement
- The amount of the incrementationHttp2Exception
- If the window size is now higher than
the maximum allowedprotected void doNotifyAll()
public void emitHeader(String name, String value, boolean neverIndex)
emitHeader
in interface HpackDecoder.HeaderEmitter
protected final String getConnectionId()
protected int getWeight()
public Integer getIdentifier()
protected void setWindowSize(long windowSize)
protected long getWindowSize()
protected void decrementWindowSize(int decrement)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.