Package org.apache.pekko.http.impl.util
Class Rendering$
java.lang.Object
org.apache.pekko.http.impl.util.Rendering$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Rendering$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.parboiled2.CharPredicatebooleanisIllegalHeaderChar(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.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Rendering$
public Rendering$()
-
-
Method Details
-
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 anIntso that both theCharand theBytebased renderings can pass their element in directly.- Parameters:
ch- (undocumented)- Returns:
- (undocumented)
-
contentDispositionFilenameSafeChars
public org.parboiled2.CharPredicate contentDispositionFilenameSafeChars()
-