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() |
void |
incrementWindowSize(int windowSizeIncrement) |
void |
rePrioritise(org.apache.coyote.http2.AbstractStream parent,
boolean exclusive,
int weight) |
void |
reset(long errorCode) |
protected void |
setWindowSize(long windowSize) |
public Stream(Integer identifier, Http2UpgradeHandler handler)
public Stream(Integer identifier, Http2UpgradeHandler handler, Request coyoteRequest)
public void rePrioritise(org.apache.coyote.http2.AbstractStream parent, boolean exclusive, int weight)
public void reset(long errorCode)
public void incrementWindowSize(int windowSizeIncrement) throws Http2Exception
Http2Exception
protected 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-2015 Apache Software Foundation. All Rights Reserved.