Class Rendering$

java.lang.Object
org.apache.pekko.http.impl.util.Rendering$

public class Rendering$ extends Object
  • Field Details

    • MODULE$

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

    • Rendering$

      public Rendering$()
  • Method Details

    • floatFormat

      public DecimalFormat floatFormat()
    • isIllegalHeaderChar

      public boolean isIllegalHeaderChar(int ch)
      Characters that must never reach the wire inside a rendered header: CR and LF would split the message, and NUL is not a legal field-value character and can truncate the value in a consumer that treats it as a C string. Takes an Int so that both the Char and the Byte based renderings can pass their element in directly.
      Parameters:
      ch - (undocumented)
      Returns:
      (undocumented)
    • contentDispositionFilenameSafeChars

      public org.parboiled2.CharPredicate contentDispositionFilenameSafeChars()