Package akka.http.impl.engine.http2
Class HttpMessageRendering
- java.lang.Object
-
- akka.http.impl.engine.http2.HttpMessageRendering
-
public class HttpMessageRendering extends java.lang.Object
INTERNAL API
-
-
Constructor Summary
Constructors Constructor Description HttpMessageRendering()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addContentHeaders(scala.collection.immutable.VectorBuilder<scala.Tuple2<java.lang.String,java.lang.String>> headerPairs, HttpEntity entity)
MutatesheaderPairs
adding headers related to content (type and length).static scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>>
renderHeaders(scala.collection.immutable.Seq<HttpHeader> headers, akka.event.LoggingAdapter log, boolean isServer, boolean shouldRenderAutoHeaders, DateHeaderRendering dateHeaderRendering)
static void
renderHeaders(scala.collection.immutable.Seq<HttpHeader> headersSeq, scala.collection.immutable.VectorBuilder<scala.Tuple2<java.lang.String,java.lang.String>> headerPairs, scala.Option<scala.Tuple2<java.lang.String,java.lang.String>> peerIdHeader, akka.event.LoggingAdapter log, boolean isServer, boolean shouldRenderAutoHeaders, DateHeaderRendering dateHeaderRendering)
MutatesheaderPairs
adding any valid header fromheadersSeq
.
-
-
-
Method Detail
-
addContentHeaders
public static void addContentHeaders(scala.collection.immutable.VectorBuilder<scala.Tuple2<java.lang.String,java.lang.String>> headerPairs, HttpEntity entity)
MutatesheaderPairs
adding headers related to content (type and length).- Parameters:
headerPairs
- (undocumented)entity
- (undocumented)
-
renderHeaders
public static scala.collection.immutable.Seq<scala.Tuple2<java.lang.String,java.lang.String>> renderHeaders(scala.collection.immutable.Seq<HttpHeader> headers, akka.event.LoggingAdapter log, boolean isServer, boolean shouldRenderAutoHeaders, DateHeaderRendering dateHeaderRendering)
-
renderHeaders
public static void renderHeaders(scala.collection.immutable.Seq<HttpHeader> headersSeq, scala.collection.immutable.VectorBuilder<scala.Tuple2<java.lang.String,java.lang.String>> headerPairs, scala.Option<scala.Tuple2<java.lang.String,java.lang.String>> peerIdHeader, akka.event.LoggingAdapter log, boolean isServer, boolean shouldRenderAutoHeaders, DateHeaderRendering dateHeaderRendering)
MutatesheaderPairs
adding any valid header fromheadersSeq
.- Parameters:
peerIdHeader
- a header providing extra information (e.g. vendor and version) about the peer. For example, a User-Agent on the client or a Server header on the server.headersSeq
- (undocumented)headerPairs
- (undocumented)log
- (undocumented)isServer
- (undocumented)shouldRenderAutoHeaders
- (undocumented)dateHeaderRendering
- (undocumented)
-
-