Uses of Enum Class
codes.grow.packages.betterstack.IngestEncoding
Packages that use IngestEncoding
-
Uses of IngestEncoding in codes.grow.packages.betterstack
Methods in codes.grow.packages.betterstack that return IngestEncodingModifier and TypeMethodDescriptionBetterStackConfig.encoding()Returns the ingest body encoding (defaultJSON).BetterStackLogExporter.encoding()Returns the body encoding.static IngestEncodingReturns the enum constant of this class with the specified name.static IngestEncoding[]IngestEncoding.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in codes.grow.packages.betterstack that return types with arguments of type IngestEncodingModifier and TypeMethodDescriptionBetterStackLogExporterOptions.encoding()Returns the value of theencodingrecord component.SendEventsOptions.encoding()Returns the value of theencodingrecord component.static Optional<IngestEncoding> Parses a configuration value (case-insensitive, surrounding blanks ignored).Methods in codes.grow.packages.betterstack with parameters of type IngestEncodingModifier and TypeMethodDescriptionstatic byte[]BetterStackEvents.encode(List<? extends Map<String, ?>> events, IngestEncoding encoding) Encodes events as one request body:JSONa JSON array,NDJSONone object per line,MSGPACKa MessagePack array withInstantvalues as timestamp extensions.BetterStackClient.Builder.encoding(IngestEncoding encoding) Sets the ingest body encoding.BetterStackConfig.Builder.encoding(IngestEncoding encoding) Sets the ingest body encoding (defaultJSON).BetterStackLogExporterOptions.of(IngestEncoding encoding) Options with an explicit encoding and default limits.SendEventsOptions.withEncoding(IngestEncoding encoding) Copy with an explicit encoding.Constructor parameters in codes.grow.packages.betterstack with type arguments of type IngestEncodingModifierConstructorDescriptionBetterStackLogExporterOptions(Optional<IngestEncoding> encoding, int maxRequestBytes, int maxRecordBytes) Fills defaults.SendEventsOptions(Optional<IngestEncoding> encoding, boolean gzip) Replaces anullencoding by empty.