Class AsyncPushConsumerRegistry


  • class AsyncPushConsumerRegistry
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.ConcurrentMap<java.lang.String,​org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>>> hostMap  
      private org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>> primary  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.hc.core5.http.nio.AsyncPushConsumer get​(org.apache.hc.core5.http.HttpRequest request)  
      private org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>> getPatternMatcher​(java.lang.String hostname)  
      void register​(java.lang.String hostname, java.lang.String uriPattern, org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer> supplier)  
      • Methods inherited from class java.lang.Object

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

      • primary

        private final org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>> primary
      • hostMap

        private final java.util.concurrent.ConcurrentMap<java.lang.String,​org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>>> hostMap
    • Constructor Detail

      • AsyncPushConsumerRegistry

        public AsyncPushConsumerRegistry()
    • Method Detail

      • getPatternMatcher

        private org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>> getPatternMatcher​(java.lang.String hostname)
      • get

        public org.apache.hc.core5.http.nio.AsyncPushConsumer get​(org.apache.hc.core5.http.HttpRequest request)
      • register

        public void register​(java.lang.String hostname,
                             java.lang.String uriPattern,
                             org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer> supplier)