.class public Lorg/apache/http/client/entity/UrlEncodedFormEntity; .super Lorg/apache/http/entity/StringEntity; .source "UrlEncodedFormEntity.java" # direct methods .method public constructor (Ljava/lang/Iterable;)V .registers 3 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+", "Lorg/apache/http/NameValuePair;", ">;)V" } .end annotation const/4 v0, 0x0 .line 102 invoke-direct {p0, p1, v0}, Lorg/apache/http/client/entity/UrlEncodedFormEntity;->(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V return-void .end method .method public constructor (Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Iterable<", "+", "Lorg/apache/http/NameValuePair;", ">;", "Ljava/nio/charset/Charset;", ")V" } .end annotation if-eqz p2, :cond_4 move-object v0, p2 goto :goto_6 .line 75 :cond_4 sget-object v0, Lorg/apache/http/protocol/HTTP;->DEF_CONTENT_CHARSET:Ljava/nio/charset/Charset; :goto_6 invoke-static {p1, v0}, Lorg/apache/http/client/utils/URLEncodedUtils;->format(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)Ljava/lang/String; move-result-object p1 const-string v0, "application/x-www-form-urlencoded" invoke-static {v0, p2}, Lorg/apache/http/entity/ContentType;->create(Ljava/lang/String;Ljava/nio/charset/Charset;)Lorg/apache/http/entity/ContentType; move-result-object p2 invoke-direct {p0, p1, p2}, Lorg/apache/http/entity/StringEntity;->(Ljava/lang/String;Lorg/apache/http/entity/ContentType;)V return-void .end method .method public constructor (Ljava/util/List;)V .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "+", "Lorg/apache/http/NameValuePair;", ">;)V" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/UnsupportedEncodingException; } .end annotation const/4 v0, 0x0 .line 89 move-object v1, v0 check-cast v1, Ljava/nio/charset/Charset; invoke-direct {p0, p1, v0}, Lorg/apache/http/client/entity/UrlEncodedFormEntity;->(Ljava/lang/Iterable;Ljava/nio/charset/Charset;)V return-void .end method .method public constructor (Ljava/util/List;Ljava/lang/String;)V .registers 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "+", "Lorg/apache/http/NameValuePair;", ">;", "Ljava/lang/String;", ")V" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/UnsupportedEncodingException; } .end annotation if-eqz p2, :cond_4 move-object v0, p2 goto :goto_a .line 58 :cond_4 sget-object v0, Lorg/apache/http/protocol/HTTP;->DEF_CONTENT_CHARSET:Ljava/nio/charset/Charset; invoke-virtual {v0}, Ljava/nio/charset/Charset;->name()Ljava/lang/String; move-result-object v0 :goto_a invoke-static {p1, v0}, Lorg/apache/http/client/utils/URLEncodedUtils;->format(Ljava/util/List;Ljava/lang/String;)Ljava/lang/String; move-result-object p1 const-string v0, "application/x-www-form-urlencoded" invoke-static {v0, p2}, Lorg/apache/http/entity/ContentType;->create(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/http/entity/ContentType; move-result-object p2 invoke-direct {p0, p1, p2}, Lorg/apache/http/entity/StringEntity;->(Ljava/lang/String;Lorg/apache/http/entity/ContentType;)V return-void .end method