Class WireConfig$


  • public class WireConfig$
    extends java.lang.Object
    INTERNAL API

    Parsing of HOCON that arrived in a message.

    HOCON include directives are resolved by the parser, not by resolve(), so parsing a string with the default includer reads whatever it names: include file(...) and include classpath(...) read from the local filesystem and classpath, and include 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 an include, 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.Config parseString​(java.lang.String hocon)
      Like ConfigFactory.parseString, but with include directives resolved to nothing.
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • WireConfig$

        public WireConfig$()
    • Method Detail

      • parseString

        public com.typesafe.config.Config parseString​(java.lang.String hocon)
        Like ConfigFactory.parseString, but with include directives resolved to nothing.