Package io.sentry

Class NoOpTransportFactory

java.lang.Object
io.sentry.NoOpTransportFactory
All Implemented Interfaces:
ITransportFactory

@Internal public final class NoOpTransportFactory extends Object implements ITransportFactory
  • Method Details

    • getInstance

      public static NoOpTransportFactory getInstance()
    • create

      @NotNull public @NotNull ITransport create(@NotNull @NotNull SentryOptions options, @NotNull @NotNull RequestDetails requestDetails)
      Description copied from interface: ITransportFactory
      Creates an instance of ITransport.
      Specified by:
      create in interface ITransportFactory
      Parameters:
      options - sentry configuration that can be used to create transport
      requestDetails - http request properties that must be applied to http request invoked by the transport
      Returns:
      the transport