public class Http2SubStream
extends java.lang.Object
implements scala.Product, java.io.Serializable
Constructor and Description |
---|
Http2SubStream(FrameEvent.ParsedHeadersFrame initialHeaders,
akka.stream.scaladsl.Source<java.lang.Object,java.lang.Object> data,
scala.collection.immutable.Map<AttributeKey<?>,?> correlationAttributes) |
Modifier and Type | Method and Description |
---|---|
static Http2SubStream |
apply(HttpEntity entity,
FrameEvent.ParsedHeadersFrame headers,
scala.collection.immutable.Map<AttributeKey<?>,?> correlationAttributes) |
scala.collection.immutable.Map<AttributeKey<?>,?> |
correlationAttributes() |
RequestEntity |
createEntity(long contentLength,
akka.util.OptionVal<ContentType> contentTypeOption) |
akka.stream.scaladsl.Source<java.lang.Object,java.lang.Object> |
data() |
boolean |
hasEntity() |
FrameEvent.ParsedHeadersFrame |
initialHeaders() |
int |
streamId() |
Http2SubStream |
withCorrelationAttributes(scala.collection.immutable.Map<AttributeKey<?>,?> newAttributes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Http2SubStream(FrameEvent.ParsedHeadersFrame initialHeaders, akka.stream.scaladsl.Source<java.lang.Object,java.lang.Object> data, scala.collection.immutable.Map<AttributeKey<?>,?> correlationAttributes)
public static Http2SubStream apply(HttpEntity entity, FrameEvent.ParsedHeadersFrame headers, scala.collection.immutable.Map<AttributeKey<?>,?> correlationAttributes)
public FrameEvent.ParsedHeadersFrame initialHeaders()
public akka.stream.scaladsl.Source<java.lang.Object,java.lang.Object> data()
public scala.collection.immutable.Map<AttributeKey<?>,?> correlationAttributes()
public int streamId()
public boolean hasEntity()
public Http2SubStream withCorrelationAttributes(scala.collection.immutable.Map<AttributeKey<?>,?> newAttributes)
public RequestEntity createEntity(long contentLength, akka.util.OptionVal<ContentType> contentTypeOption)