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

com.documents4j.job.RemoteConversionContext Maven / Gradle / Ivy

package com.documents4j.job;

import jakarta.ws.rs.core.Response;
import java.util.concurrent.Future;

class RemoteConversionContext implements IConversionContext {

    private final Future webResponse;

    public RemoteConversionContext(Future webResponse) {
        this.webResponse = webResponse;
    }

    @Override
    public Future asFuture() {
        return new WebserviceRequestFutureWrapper(webResponse);
    }

    public Future getWebResponse() {
        return webResponse;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy