.class public Lkf/j; .super Lkf/n; .source "HttpOptions.java" # annotations .annotation build Lcz/msebera/android/httpclient/annotation/NotThreadSafe; .end annotation # static fields .field public static final h:Ljava/lang/String; = "OPTIONS" # direct methods .method public constructor ()V .locals 0 .line 1 invoke-direct {p0}, Lkf/n;->()V return-void .end method .method public constructor (Ljava/lang/String;)V .locals 0 .line 4 invoke-direct {p0}, Lkf/n;->()V .line 5 invoke-static {p1}, Ljava/net/URI;->create(Ljava/lang/String;)Ljava/net/URI; move-result-object p1 invoke-virtual {p0, p1}, Lkf/n;->n(Ljava/net/URI;)V return-void .end method .method public constructor (Ljava/net/URI;)V .locals 0 .line 2 invoke-direct {p0}, Lkf/n;->()V .line 3 invoke-virtual {p0, p1}, Lkf/n;->n(Ljava/net/URI;)V return-void .end method # virtual methods .method public getMethod()Ljava/lang/String; .locals 1 const-string v0, "OPTIONS" return-object v0 .end method .method public p(Ldf/t;)Ljava/util/Set; .locals 5 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ldf/t;", ")", "Ljava/util/Set<", "Ljava/lang/String;", ">;" } .end annotation const-string v0, "HTTP response" .line 1 invoke-static {p1, v0}, Lqg/a;->h(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; const-string v0, "Allow" .line 2 invoke-interface {p1, v0}, Ldf/p;->headerIterator(Ljava/lang/String;)Ldf/g; move-result-object p1 .line 3 new-instance v0, Ljava/util/HashSet; invoke-direct {v0}, Ljava/util/HashSet;->()V .line 4 :cond_0 invoke-interface {p1}, Ldf/g;->hasNext()Z move-result v1 if-eqz v1, :cond_1 .line 5 invoke-interface {p1}, Ldf/g;->nextHeader()Ldf/d; move-result-object v1 .line 6 invoke-interface {v1}, Ldf/d;->getElements()[Ldf/e; move-result-object v1 .line 7 array-length v2, v1 const/4 v3, 0x0 :goto_0 if-ge v3, v2, :cond_0 aget-object v4, v1, v3 .line 8 invoke-interface {v4}, Ldf/e;->getName()Ljava/lang/String; move-result-object v4 invoke-virtual {v0, v4}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z add-int/lit8 v3, v3, 0x1 goto :goto_0 :cond_1 return-object v0 .end method