Uses of Class
opennlp.tools.util.ResourceInstaller.Limits.Builder
Packages that use ResourceInstaller.Limits.Builder
-
Uses of ResourceInstaller.Limits.Builder in opennlp.tools.util
Methods in opennlp.tools.util that return ResourceInstaller.Limits.BuilderModifier and TypeMethodDescriptionResourceInstaller.Limits.builder()Starts fromResourceInstaller.Limits.DEFAULTso a caller can state only the limits that differ from it, instead of repeating all seven in the canonical constructor.ResourceInstaller.Limits.Builder.connectTimeout(Duration connectTimeout) Sets how long to wait for a connection to be established.ResourceInstaller.Limits.Builder.maxDownloadBytes(long maxDownloadBytes) Sets the largest download accepted.ResourceInstaller.Limits.Builder.maxEntries(long maxEntries) Sets the largest number of archive entries accepted.ResourceInstaller.Limits.Builder.maxExpandedBytes(long maxExpandedBytes) Sets the largest expanded byte count accepted.ResourceInstaller.Limits.Builder.maxExpansionRatio(long maxExpansionRatio) Sets the largest expanded size accepted per compressed byte of a source.ResourceInstaller.Limits.Builder.maxRedirects(int maxRedirects) Sets how many http redirects to follow before failing.ResourceInstaller.Limits.Builder.readTimeout(Duration readTimeout) Sets how long to wait for data on an established connection.