Top Fields Constructors Methods
org.apache.hc.client5.http.impl.async

pack-priv Class AsyncPushConsumerRegistry

extends Object
Class Inheritance
Imports
java.util.Locale, java.util.concurrent.ConcurrentHashMap, .ConcurrentMap, org.apache.hc.core5.function.Supplier, org.apache.hc.core5.http.HttpRequest, org.apache.hc.core5.http.nio.AsyncPushConsumer, org.apache.hc.core5.http.protocol.UriPatternMatcher, org.apache.hc.core5.net.URIAuthority, org.apache.hc.core5.util.Args

Field Summary

Modifier and TypeField and Description
private final ConcurrentMap<String, UriPatternMatcher<Supplier<AsyncPushConsumer>>>
private final UriPatternMatcher<Supplier<AsyncPushConsumer>>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AsyncPushConsumer
get(final HttpRequest request)

private UriPatternMatcher<Supplier<AsyncPushConsumer>>
getPatternMatcher(final String hostname)

public void
register(final String hostname, final String uriPattern, final Supplier<AsyncPushConsumer> supplier)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hostMapback to summary
private final ConcurrentMap<String, UriPatternMatcher<Supplier<AsyncPushConsumer>>> hostMap
primaryback to summary
private final UriPatternMatcher<Supplier<AsyncPushConsumer>> primary

Constructor Detail

AsyncPushConsumerRegistryback to summary
public AsyncPushConsumerRegistry()

Method Detail

getback to summary
public AsyncPushConsumer get(final HttpRequest request)
getPatternMatcherback to summary
private UriPatternMatcher<Supplier<AsyncPushConsumer>> getPatternMatcher(final String hostname)
registerback to summary
public void register(final String hostname, final String uriPattern, final Supplier<AsyncPushConsumer> supplier)