alexandroid/decompiled/jadx/sources/org/apache/http/entity/HttpEntityWrapper.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

64 lines
1.9 KiB
Java

package org.apache.http.entity;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.util.Args;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes11.dex */
public class HttpEntityWrapper implements HttpEntity {
protected HttpEntity wrappedEntity;
public HttpEntityWrapper(HttpEntity httpEntity) {
this.wrappedEntity = (HttpEntity) Args.notNull(httpEntity, "Wrapped entity");
}
@Override // org.apache.http.HttpEntity
@Deprecated
public void consumeContent() throws IOException {
this.wrappedEntity.consumeContent();
}
@Override // org.apache.http.HttpEntity
public InputStream getContent() throws IOException {
return this.wrappedEntity.getContent();
}
@Override // org.apache.http.HttpEntity
public Header getContentEncoding() {
return this.wrappedEntity.getContentEncoding();
}
@Override // org.apache.http.HttpEntity
public long getContentLength() {
return this.wrappedEntity.getContentLength();
}
@Override // org.apache.http.HttpEntity
public Header getContentType() {
return this.wrappedEntity.getContentType();
}
@Override // org.apache.http.HttpEntity
public boolean isChunked() {
return this.wrappedEntity.isChunked();
}
@Override // org.apache.http.HttpEntity
public boolean isRepeatable() {
return this.wrappedEntity.isRepeatable();
}
@Override // org.apache.http.HttpEntity
public boolean isStreaming() {
return this.wrappedEntity.isStreaming();
}
@Override // org.apache.http.HttpEntity
public void writeTo(OutputStream outputStream) throws IOException {
this.wrappedEntity.writeTo(outputStream);
}
}