Package io.sentry
Class NoOpTransportFactory
- java.lang.Object
-
- io.sentry.NoOpTransportFactory
-
- All Implemented Interfaces:
ITransportFactory
@Internal public final class NoOpTransportFactory extends java.lang.Object implements ITransportFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ITransportcreate(@NotNull SentryOptions options, @NotNull RequestDetails requestDetails)Creates an instance ofITransport.static NoOpTransportFactorygetInstance()
-
-
-
Method Detail
-
getInstance
public static NoOpTransportFactory getInstance()
-
create
@NotNull public @NotNull ITransport create(@NotNull @NotNull SentryOptions options, @NotNull @NotNull RequestDetails requestDetails)
Description copied from interface:ITransportFactoryCreates an instance ofITransport.- Specified by:
createin interfaceITransportFactory- Parameters:
options- sentry configuration that can be used to create transportrequestDetails- http request properties that must be applied to http request invoked by the transport- Returns:
- the transport
-
-