Class AsyncPushConsumerRegistry
- java.lang.Object
-
- org.apache.hc.client5.http.impl.async.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
-
Constructor Summary
Constructors Constructor Description AsyncPushConsumerRegistry()
-
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)
-
-
-
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
-
-
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)
-
-