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

io.github.clescot.kafka.connect.http.client.CallState Maven / Gradle / Ivy

There is a newer version: 0.7.232
Show newest version
package io.github.clescot.kafka.connect.http.client;

import io.github.clescot.kafka.connect.http.core.HttpRequest;
import io.github.clescot.kafka.connect.http.core.HttpResponse;
import io.micrometer.common.lang.Nullable;

import java.io.IOException;

// VisibleForTesting
public class CallState {

    final long startTime;

    @Nullable
    final HttpRequest request;

    @Nullable
    HttpResponse response;

    @Nullable
    IOException exception;

    CallState(long startTime, @Nullable HttpRequest request) {
        this.startTime = startTime;
        this.request = request;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy