Top Description Fields Constructors Methods
org.apache.hc.client5.http.psl

public final Class PublicSuffixMatcherLoader

extends Object
Class Inheritance
Annotations
@Contract
threading:SAFE
Imports
java.io.File, .FileInputStream, .IOException, .InputStream, .InputStreamReader, java.net.URL, java.nio.charset.StandardCharsets, java.util.Collections, .List, org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.apache.hc.core5.util.Args, org.slf4j.Logger, .LoggerFactory

PublicSuffixMatcher loader.
Since
4.4

Field Summary

Modifier and TypeField and Description
private static volatile PublicSuffixMatcher
private static final Logger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static PublicSuffixMatcher
private static PublicSuffixMatcher
load(final InputStream in)

public static PublicSuffixMatcher
load(final URL url)

public static PublicSuffixMatcher
load(final File file)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEFAULT_INSTANCEback to summary
private static volatile PublicSuffixMatcher DEFAULT_INSTANCE
LOGback to summary
private static final Logger LOG

Constructor Detail

PublicSuffixMatcherLoaderback to summary
public PublicSuffixMatcherLoader()

Method Detail

getDefaultback to summary
public static PublicSuffixMatcher getDefault()
loadback to summary
private static PublicSuffixMatcher load(final InputStream in) throws IOException
loadback to summary
public static PublicSuffixMatcher load(final URL url) throws IOException
loadback to summary
public static PublicSuffixMatcher load(final File file) throws IOException