Class AsyncPushConsumerRegistry

java.lang.Object
org.apache.hc.client5.http.impl.async.AsyncPushConsumerRegistry

class AsyncPushConsumerRegistry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final ConcurrentMap<String,org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>>>
     
    private final org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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>>
     
    void
    register(String hostname, 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 Details

    • 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 ConcurrentMap<String,org.apache.hc.core5.http.protocol.UriPatternMatcher<org.apache.hc.core5.function.Supplier<org.apache.hc.core5.http.nio.AsyncPushConsumer>>> hostMap
  • Constructor Details

    • AsyncPushConsumerRegistry

      public AsyncPushConsumerRegistry()
  • Method Details

    • getPatternMatcher

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

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

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