.class public Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper; .super Lorg/apache/http/impl/client/RequestWrapper; .source "EntityEnclosingRequestWrapper.java" # interfaces .implements Lorg/apache/http/HttpEntityEnclosingRequest; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper$EntityWrapper; } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation # instance fields .field private consumed:Z .field private entity:Lorg/apache/http/HttpEntity; # direct methods .method public constructor (Lorg/apache/http/HttpEntityEnclosingRequest;)V .registers 2 .annotation system Ldalvik/annotation/Throws; value = { Lorg/apache/http/ProtocolException; } .end annotation .line 63 invoke-direct {p0, p1}, Lorg/apache/http/impl/client/RequestWrapper;->(Lorg/apache/http/HttpRequest;)V .line 64 invoke-interface {p1}, Lorg/apache/http/HttpEntityEnclosingRequest;->getEntity()Lorg/apache/http/HttpEntity; move-result-object p1 invoke-virtual {p0, p1}, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->setEntity(Lorg/apache/http/HttpEntity;)V return-void .end method .method static synthetic access$002(Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;Z)Z .registers 2 .line 55 iput-boolean p1, p0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->consumed:Z return p1 .end method # virtual methods .method public expectContinue()Z .registers 3 .line 80 const-string v0, "Expect" invoke-virtual {p0, v0}, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->getFirstHeader(Ljava/lang/String;)Lorg/apache/http/Header; move-result-object v0 if-eqz v0, :cond_16 .line 81 const-string v1, "100-continue" invoke-interface {v0}, Lorg/apache/http/Header;->getValue()Ljava/lang/String; move-result-object v0 invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z move-result v0 if-eqz v0, :cond_16 const/4 v0, 0x1 goto :goto_17 :cond_16 const/4 v0, 0x0 :goto_17 return v0 .end method .method public getEntity()Lorg/apache/http/HttpEntity; .registers 2 .line 69 iget-object v0, p0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->entity:Lorg/apache/http/HttpEntity; return-object v0 .end method .method public isRepeatable()Z .registers 2 .line 86 iget-object v0, p0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->entity:Lorg/apache/http/HttpEntity; if-eqz v0, :cond_11 invoke-interface {v0}, Lorg/apache/http/HttpEntity;->isRepeatable()Z move-result v0 if-nez v0, :cond_11 iget-boolean v0, p0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->consumed:Z if-nez v0, :cond_f goto :goto_11 :cond_f const/4 v0, 0x0 goto :goto_12 :cond_11 :goto_11 const/4 v0, 0x1 :goto_12 return v0 .end method .method public setEntity(Lorg/apache/http/HttpEntity;)V .registers 3 if-eqz p1, :cond_8 .line 74 new-instance v0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper$EntityWrapper; invoke-direct {v0, p0, p1}, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper$EntityWrapper;->(Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;Lorg/apache/http/HttpEntity;)V goto :goto_9 :cond_8 const/4 v0, 0x0 :goto_9 iput-object v0, p0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->entity:Lorg/apache/http/HttpEntity; const/4 p1, 0x0 .line 75 iput-boolean p1, p0, Lorg/apache/http/impl/client/EntityEnclosingRequestWrapper;->consumed:Z return-void .end method