Class AsyncHttpTransport

java.lang.Object
io.sentry.transport.AsyncHttpTransport
All Implemented Interfaces:
ITransport, Closeable, AutoCloseable

public final class AsyncHttpTransport extends Object implements ITransport
ITransport implementation that executes request asynchronously in a blocking manner using HttpURLConnection.
  • Constructor Details

    • AsyncHttpTransport

      public AsyncHttpTransport(@NotNull @NotNull SentryOptions options, @NotNull @NotNull RateLimiter rateLimiter, @NotNull @NotNull ITransportGate transportGate, @NotNull @NotNull RequestDetails requestDetails)
    • AsyncHttpTransport

      public AsyncHttpTransport(@NotNull @NotNull io.sentry.transport.QueuedThreadPoolExecutor executor, @NotNull @NotNull SentryOptions options, @NotNull @NotNull RateLimiter rateLimiter, @NotNull @NotNull ITransportGate transportGate, @NotNull @NotNull io.sentry.transport.HttpConnection httpConnection)
  • Method Details