Package org.apache.pekko.serialization
Class WireConfig$
- java.lang.Object
-
- org.apache.pekko.serialization.WireConfig$
-
public class WireConfig$ extends java.lang.ObjectINTERNAL APIParsing of HOCON that arrived in a message.
HOCON
includedirectives are resolved by the parser, not byresolve(), so parsing a string with the default includer reads whatever it names:include file(...)andinclude classpath(...)read from the local filesystem and classpath, andinclude url(...)performs an outbound request. None of that belongs on a path whose input came from a peer.Every serializer writes config with
ConfigRenderOptions.concise, which renders JSON and cannot produce aninclude, so dropping them costs a well-behaved sender nothing.
-
-
Field Summary
Fields Modifier and Type Field Description static WireConfig$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description WireConfig$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.typesafe.config.ConfigparseString(java.lang.String hocon)LikeConfigFactory.parseString, but withincludedirectives resolved to nothing.
-
-
-
Field Detail
-
MODULE$
public static final WireConfig$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-