Class ReactiveHttpConfig


  • @Singleton
    public class ReactiveHttpConfig
    extends Object
    Utility class for reading http and web socket connector configuration
    • Constructor Detail

      • ReactiveHttpConfig

        public ReactiveHttpConfig()
    • Method Detail

      • getHttpConfigs

        public List<HttpStreamConfig> getHttpConfigs()
        Returns:
        list of http stream configurations
      • getWebSocketConfigs

        public List<WebSocketStreamConfig> getWebSocketConfigs()
        Returns:
        list of web socket stream configurations
      • init

        @PostConstruct
        void init()
      • readIncomingHttpConfigs

        public static List<HttpStreamConfig> readIncomingHttpConfigs()
        Reads HTTP config, can be used in the build time
        Returns:
        list of HTTP configurations
      • readIncomingWebSocketConfigs

        public static List<WebSocketStreamConfig> readIncomingWebSocketConfigs()
        Reads web socket config, can be used in the build time
        Returns:
        list of web socket configurations
      • readSerializers

        public static List<String> readSerializers()
        Read custom serializer class names from the configuration
        Returns:
        list of custom serializer class names