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

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

There is a newer version: 1.1.12
Show newest version
package com.documents4j.job;

import javax.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