All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sentry.NoOpEnvelopeReader Maven / Gradle / Ivy

There is a newer version: 8.0.0-rc.4
Show newest version
package io.sentry;

import java.io.IOException;
import java.io.InputStream;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class NoOpEnvelopeReader implements IEnvelopeReader {

  private static final NoOpEnvelopeReader instance = new NoOpEnvelopeReader();

  private NoOpEnvelopeReader() {}

  public static NoOpEnvelopeReader getInstance() {
    return instance;
  }

  @Override
  public @Nullable SentryEnvelope read(@NotNull InputStream stream) throws IOException {
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy