BodyItemWrapper.java
/*
* Decompiled with CFR 0_132.
*
* Could not load the following classes:
* android.text.TextUtils
*/
package org.xutils.http.body;
import android.text.TextUtils;
public final class BodyItemWrapper {
private final Object value;
private final String fileName;
private final String contentType;
public BodyItemWrapper(Object value, String contentType) {
this(value, contentType, null);
}
public BodyItemWrapper(Object value, String contentType, String fileName) {
this.value = value;
this.contentType = TextUtils.isEmpty((CharSequence)contentType) ? "application/octet-stream" : contentType;
this.fileName = fileName;
}
public Object getValue() {
return this.value;
}
public String getFileName() {
return this.fileName;
}
public String getContentType() {
return this.contentType;
}
}