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

de.gesellix.docker.engine.EngineResponse Maven / Gradle / Ivy

There is a newer version: 2024-09-15T20-35-00
Show newest version
package de.gesellix.docker.engine;

import java.io.InputStream;
import java.util.concurrent.Future;

public class EngineResponse {

  private EngineResponseStatus status = new EngineResponseStatus();
  private Object headers;
  private String contentType;
  private String mimeType;
  private String contentLength;
  private InputStream stream;
  private R content;
  private Future taskFuture;

  public EngineResponseStatus getStatus() {
    return status;
  }

  public void setStatus(EngineResponseStatus status) {
    this.status = status;
  }

  public Object getHeaders() {
    return headers;
  }

  public void setHeaders(Object headers) {
    this.headers = headers;
  }

  public String getContentType() {
    return contentType;
  }

  public void setContentType(String contentType) {
    this.contentType = contentType;
  }

  public String getMimeType() {
    return mimeType;
  }

  public void setMimeType(String mimeType) {
    this.mimeType = mimeType;
  }

  public String getContentLength() {
    return contentLength;
  }

  public void setContentLength(String contentLength) {
    this.contentLength = contentLength;
  }

  public InputStream getStream() {
    return stream;
  }

  public void setStream(InputStream stream) {
    this.stream = stream;
  }

  public R getContent() {
    return content;
  }

  public void setContent(R content) {
    this.content = content;
  }

  public Future getTaskFuture() {
    return taskFuture;
  }

  public void setTaskFuture(Future taskFuture) {
    this.taskFuture = taskFuture;
  }

  @Override
  public String toString() {
    return "EngineResponse{" +
           "status=" + status +
           ", headers=" + headers +
           ", contentType='" + contentType + '\'' +
           ", mimeType='" + mimeType + '\'' +
           ", contentLength='" + contentLength + '\'' +
           ", stream=" + stream +
           ", content=" + content +
           ", taskFuture=" + taskFuture +
           '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy