Class HttpMessageRendering$


  • public class HttpMessageRendering$
    extends java.lang.Object
    INTERNAL API
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static HttpMessageRendering$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addContentHeaders​(scala.collection.immutable.VectorBuilder<scala.Tuple2<java.lang.String,​java.lang.String>> headerPairs, HttpEntity entity)
      Mutates headerPairs adding headers related to content (type and length).
      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)  
      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)
      Mutates headerPairs adding any valid header from headersSeq.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final HttpMessageRendering$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • HttpMessageRendering$

        public HttpMessageRendering$()
    • Method Detail

      • addContentHeaders

        public void addContentHeaders​(scala.collection.immutable.VectorBuilder<scala.Tuple2<java.lang.String,​java.lang.String>> headerPairs,
                                      HttpEntity entity)
        Mutates headerPairs adding headers related to content (type and length).
        Parameters:
        headerPairs - (undocumented)
        entity - (undocumented)
      • renderHeaders

        public 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 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)
        Mutates headerPairs adding any valid header from headersSeq.
        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)