.class public final Lorg/apache/http/impl/conn/SchemeRegistryFactory; .super Ljava/lang/Object; .source "SchemeRegistryFactory.java" # annotations .annotation runtime Ljava/lang/Deprecated; .end annotation # direct methods .method public constructor ()V .registers 1 .line 43 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static createDefault()Lorg/apache/http/conn/scheme/SchemeRegistry; .registers 5 .line 50 new-instance v0, Lorg/apache/http/conn/scheme/SchemeRegistry; invoke-direct {v0}, Lorg/apache/http/conn/scheme/SchemeRegistry;->()V .line 51 new-instance v1, Lorg/apache/http/conn/scheme/Scheme; const/16 v2, 0x50 invoke-static {}, Lorg/apache/http/conn/scheme/PlainSocketFactory;->getSocketFactory()Lorg/apache/http/conn/scheme/PlainSocketFactory; move-result-object v3 const-string v4, "http" invoke-direct {v1, v4, v2, v3}, Lorg/apache/http/conn/scheme/Scheme;->(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V invoke-virtual {v0, v1}, Lorg/apache/http/conn/scheme/SchemeRegistry;->register(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme; .line 53 new-instance v1, Lorg/apache/http/conn/scheme/Scheme; const/16 v2, 0x1bb invoke-static {}, Lorg/apache/http/conn/ssl/SSLSocketFactory;->getSocketFactory()Lorg/apache/http/conn/ssl/SSLSocketFactory; move-result-object v3 const-string v4, "https" invoke-direct {v1, v4, v2, v3}, Lorg/apache/http/conn/scheme/Scheme;->(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V invoke-virtual {v0, v1}, Lorg/apache/http/conn/scheme/SchemeRegistry;->register(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme; return-object v0 .end method .method public static createSystemDefault()Lorg/apache/http/conn/scheme/SchemeRegistry; .registers 5 .line 83 new-instance v0, Lorg/apache/http/conn/scheme/SchemeRegistry; invoke-direct {v0}, Lorg/apache/http/conn/scheme/SchemeRegistry;->()V .line 84 new-instance v1, Lorg/apache/http/conn/scheme/Scheme; const/16 v2, 0x50 invoke-static {}, Lorg/apache/http/conn/scheme/PlainSocketFactory;->getSocketFactory()Lorg/apache/http/conn/scheme/PlainSocketFactory; move-result-object v3 const-string v4, "http" invoke-direct {v1, v4, v2, v3}, Lorg/apache/http/conn/scheme/Scheme;->(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V invoke-virtual {v0, v1}, Lorg/apache/http/conn/scheme/SchemeRegistry;->register(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme; .line 86 new-instance v1, Lorg/apache/http/conn/scheme/Scheme; const/16 v2, 0x1bb invoke-static {}, Lorg/apache/http/conn/ssl/SSLSocketFactory;->getSystemSocketFactory()Lorg/apache/http/conn/ssl/SSLSocketFactory; move-result-object v3 const-string v4, "https" invoke-direct {v1, v4, v2, v3}, Lorg/apache/http/conn/scheme/Scheme;->(Ljava/lang/String;ILorg/apache/http/conn/scheme/SchemeSocketFactory;)V invoke-virtual {v0, v1}, Lorg/apache/http/conn/scheme/SchemeRegistry;->register(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme; return-object v0 .end method