Package google.registry.util
@ParametersAreNonnullByDefault
package google.registry.util
-
ClassDescriptionUtilities for breaking up a
Stream
into batches.Utilities methods related to build path.A log handler that captures logs.Class representing an RFC 1519 CIDR IP address block.CircularList<T>Class that stores value<T>
, and points in circle to otherCircularList
objects.CircularList.AbstractBuilder<T,C extends CircularList<T>> AsCircularList
represents one component of the entire list, it requires a builder to create the full list.Default Builder to create a standard instance of aCircularList
.A clock that tells the current time in milliseconds or nanoseconds.Utility methods related to collections.Abstract InvocationHandler comparing two implementations of some interface.Utilities for multithreaded operations.GSON type adapter for JodaDateTime
objects.Utilities methods and constants related to JodaDateTime
objects.Helper class for diff utilities.A helper record to store the two sides of a diff.Utility methods related to domain names.Record representing the content and metadata of an email.An attachment to the email, if one exists.Builder forEmailMessage.Attachment
.Builder forEmailMessage
.JUL formatter that formats log messages in a single-line JSON that Stackdriver logging can parse.Helper class to provideHttpTransport
,JsonFactory
andHttpRequestInitializer
for a givenGoogleCredentials
.Hex Dump Utility.A partial API-compatible replacement forIDN
that replaces IDNA2003 processing with UTS46 transitional processing, with differences as described in the UTS46 documentation/InputStream
wrapper that offers some additional magic.OutputStream
wrapper that offers some additional magic.CreatesCharMatchers
that support Java character strings only, not unicode supplementary characters.An adapter for the configuration specific aspects of a JDK logger which retains a strong reference to the corresponding underlying logger to prevent accidental garbage collection.A utility class for conversion of input file paths into names for entities in the database.Utilities for networking.Annotation that discourages future maintainers from marking a fieldfinal
.NullIgnoringCollectionBuilder<E,B extends com.google.common.collect.ImmutableCollection.Builder<E>> Collection builder that simply ignores requests to add null elements.Common utility class to handle password hashing and salting /*POSIX Tar Header.Builder forPosixTarHeader
.Type of file stored in the archive.Utility methods related to preconditions checking.Utility class containingPredicate
methods.Utility class of HTTP header names used for HTTP calls between Nomulus and the proxy.Random string generator.Utilities for working withRegistrar
objects.Registry environments.Utility methods related to reading java resources.Wrapper that does retry with exponential backoff.Holds functions to call whenever the code being retried fails.Safely deserializes Nomulus http request parameters.Helpers for usingSafeObjectInputStream
.A self-signed certificate authority (CA) cert for use in tests.Utilities for easy serialization with informative error messages.An object which accepts requests to put the current thread to sleep.SQL template variable substitution.Abstract class forTypeAdapter
s that can convert directly to/from strings.String generator.A class containing different alphabets used to generate strings.Clock implementation that proxies to the real system clock.Wrapper interface aroundSystem.setProperty(String, String)
andSystem.clearProperty(String)
.Implementation ofSleeper
for production use.OutputStream
delegate that writes simultaneously to multiple other output streams.Utilities methods related to reflection.ATypeToken
that removes an ugly cast in the common cases of getting a known type.An utility to probe a given url until it becomes available.Used when HTTP requests return a bad response, with troubleshooting info.Dagger module to provide instances of various utils classes.A functional interface for a version ofCallable
that returns no value.X.509 Public Key Infrastructure (PKI) helper functions.Utility methods related to xml enums.XmlToEnumMapper<T extends Enum<?>>Efficient lookup from xml enums to java enumsUtility methods for dealing with YAML.