.class public Lorg/apache/http/entity/HttpEntityWrapper; .super Ljava/lang/Object; .source "HttpEntityWrapper.java" # interfaces .implements Lorg/apache/http/HttpEntity; # instance fields .field public wrappedEntity:Lorg/apache/http/HttpEntity; # direct methods .method public constructor (Lorg/apache/http/HttpEntity;)V .locals 1 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V if-eqz p1, :cond_0 .line 2 iput-object p1, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; return-void .line 3 :cond_0 new-instance p1, Ljava/lang/IllegalArgumentException; const-string v0, "wrapped entity must not be null" invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method # virtual methods .method public consumeContent()V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->consumeContent()V return-void .end method .method public getContent()Ljava/io/InputStream; .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->getContent()Ljava/io/InputStream; move-result-object v0 return-object v0 .end method .method public getContentEncoding()Lorg/apache/http/Header; .locals 1 .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->getContentEncoding()Lorg/apache/http/Header; move-result-object v0 return-object v0 .end method .method public getContentLength()J .locals 2 .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->getContentLength()J move-result-wide v0 return-wide v0 .end method .method public getContentType()Lorg/apache/http/Header; .locals 1 .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->getContentType()Lorg/apache/http/Header; move-result-object v0 return-object v0 .end method .method public isChunked()Z .locals 1 .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->isChunked()Z move-result v0 return v0 .end method .method public isRepeatable()Z .locals 1 .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->isRepeatable()Z move-result v0 return v0 .end method .method public isStreaming()Z .locals 1 .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0}, Lorg/apache/http/HttpEntity;->isStreaming()Z move-result v0 return v0 .end method .method public writeTo(Ljava/io/OutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation .line 1 iget-object v0, p0, Lorg/apache/http/entity/HttpEntityWrapper;->wrappedEntity:Lorg/apache/http/HttpEntity; invoke-interface {v0, p1}, Lorg/apache/http/HttpEntity;->writeTo(Ljava/io/OutputStream;)V return-void .end method