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

io.sentry.ISerializer Maven / Gradle / Ivy

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

import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.io.Writer;
import java.util.Map;

public interface ISerializer {
  SentryEvent deserializeEvent(Reader reader);

  Session deserializeSession(Reader reader);

  SentryEnvelope deserializeEnvelope(InputStream inputStream);

  void serialize(SentryEvent event, Writer writer) throws IOException;

  void serialize(Session session, Writer writer) throws IOException;

  void serialize(SentryEnvelope envelope, Writer writer) throws Exception;

  String serialize(Map data) throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy