T - A generic return type of the task resultpublic interface HttpTask<T>
HttpUtil.doWithRetries(int, long, io.strimzi.kafka.oauth.common.MetricsHandler, io.strimzi.kafka.oauth.common.HttpTask<T>) method,
to perform a successful HTTP request to the authorization server, where the HttpTask defines an individual
single invocation.| Modifier and Type | Method and Description |
|---|---|
T |
run()
Run a task, and return the result as an object or a null if successful, otherwise throw an exception.
|
T run() throws java.io.IOException
HttpUtil.doWithRetries(int, long, io.strimzi.kafka.oauth.common.MetricsHandler, io.strimzi.kafka.oauth.common.HttpTask<T>).java.io.IOException - An exception signalling a connectivity issue, a timeout or an unexpected response status.Copyright © 2024. All rights reserved.