@ParametersAreNonnullByDefault
Package google.registry.util
-
Interface Summary Interface Description Clock A clock that tells the current time in milliseconds or nanoseconds.Retrier.FailureReporter Holds functions to call whenever the code being retried fails.Sleeper An object which accepts requests to put the current thread to sleep.VoidCallable A functional interface for a version ofCallable
that returns no value. -
Class Summary Class Description AppEngineTimeLimiter BuildPathUtils Utilities methods related to build path.CapturingLogHandler A log handler that captures logs.CidrAddressBlock Class representing an RFC 1519 CIDR IP address block.CidrAddressBlock.CidrAddressBlockAdapter 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.CircularList.Builder<T> Default Builder to create a standard instance of aCircularList
.CollectionUtils Utility methods related to collections.ComparingInvocationHandler<T> Abstract InvocationHandler comparing two implementations of some interface.Concurrent Utilities for multithreaded operations.DateTimeTypeAdapter GSON type adapter for JodaDateTime
objects.DateTimeUtils Utilities methods and constants related to JodaDateTime
objects.DiffUtils Helper class for diff utilities.DomainNameUtils Utility methods related to domain names.EmailMessage Value class representing the content and metadata of an email.EmailMessage.Attachment An attachment to the email, if one exists.EmailMessage.Attachment.Builder Builder forEmailMessage.Attachment
.EmailMessage.Builder Builder forEmailMessage
.GoogleCredentialsBundle Helper class to provideHttpTransport
,JsonFactory
andHttpRequestInitializer
for a givenGoogleCredentials
.HexDumper Hex Dump Utility.Idn A partial API-compatible replacement forIDN
that replaces IDNA2003 processing with UTS46 transitional processing, with differences as described in the UTS46 documentation/ImprovedInputStream InputStream
wrapper that offers some additional magic.ImprovedOutputStream OutputStream
wrapper that offers some additional magic.JavaCharMatchers CreatesCharMatchers
that support Java character strings only, not unicode supplementary characters.JdkLoggerConfig 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.ListNamingUtils A utility class for conversion of input file paths into names for entities in the database.NetworkUtils Utilities for networking.NullIgnoringCollectionBuilder<E,B extends com.google.common.collect.ImmutableCollection.Builder<E>> Collection builder that simply ignores requests to add null elements.OidcTokenUtils PasswordUtils Common utility class to handle password hashing and saltingPosixTarHeader POSIX Tar Header.PosixTarHeader.Builder Builder forPosixTarHeader
.PreconditionsUtils Utility methods related to preconditions checking.PredicateUtils Utility class containingPredicate
methods.ProxyHttpHeaders Utility class of HTTP header names used for HTTP calls between Nomulus and the proxy.RandomStringGenerator Random string generator.RegistrarUtils Utilities for working withRegistrar
objects.ResourceUtils Utility methods related to reading java resources.Retrier Wrapper that does retry with exponential backoff.SafeObjectInputStream Safely deserializes Nomulus http request parameters.SafeSerializationUtils Helpers for usingSafeObjectInputStream
.SelfSignedCaCertificate A self-signed certificate authority (CA) cert for use in tests.SendEmailService Wrapper around javax.mail's email creation and sending functionality.SerializeUtils Utilities for easy serialization with informative error messages.SqlTemplate SQL template variable substitution.StringBaseTypeAdapter<T> Abstract class forTypeAdapter
s that can convert directly to/from strings.StringGenerator String generator.StringGenerator.Alphabets A class containing different alphabets used to generate strings.SystemClock Clock implementation that proxies to the real system clock.SystemSleeper Implementation ofSleeper
for production use.TeeOutputStream OutputStream
delegate that writes simultaneously to multiple other output streams.TypeUtils Utilities methods related to reflection.TypeUtils.TypeInstantiator<T> ATypeToken
that removes an ugly cast in the common cases of getting a known type.UrlChecker An utility to probe a given url until it becomes available.UtilsModule Dagger module to provide instances of various utils classes.X509Utils X.509 Public Key Infrastructure (PKI) helper functions.XmlEnumUtils Utility methods related to xml enums.XmlToEnumMapper<T extends java.lang.Enum<?>> Efficient lookup from xml enums to java enumsYamlUtils Utility methods for dealing with YAML. -
Enum Summary Enum Description PosixTarHeader.Type Type of file stored in the archive. -
Exception Summary Exception Description UrlConnectionException Used when HTTP requests return a bad response, with troubleshooting info. -
Annotation Types Summary Annotation Type Description NonFinalForTesting Annotation that discourages future maintainers from marking a fieldfinal
.