PassivationConnection.java 876 Bytes
/*
 * Decompiled with CFR 0_118.
 */
package com.adobe.aemfd.docmanager.passivation;

import java.io.InputStream;

public class PassivationConnection {
    private InputStream contentStream;
    private long length;
    private String contentType;
    private Object payload;

    public PassivationConnection(InputStream contentStream, long length, String contentType) {
        this.contentStream = contentStream;
        this.length = length;
        this.contentType = contentType;
    }

    public InputStream getContentStream() {
        return this.contentStream;
    }

    public long getLength() {
        return this.length;
    }

    public String getContentType() {
        return this.contentType;
    }

    public Object getPayload() {
        return this.payload;
    }

    public void setPayload(Object payload) {
        this.payload = payload;
    }
}