99 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public final Lcom/google/common/net/UrlEscapers;
 | |
| .super Ljava/lang/Object;
 | |
| .source "UrlEscapers.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Lcom/google/common/annotations/GwtCompatible;
 | |
| .end annotation
 | |
| 
 | |
| .annotation runtime Lcom/google/common/net/ElementTypesAreNonnullByDefault;
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field private static final URL_FORM_PARAMETER_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
| .field public static final URL_FORM_PARAMETER_OTHER_SAFE_CHARS:Ljava/lang/String; = "-_.*"
 | |
| 
 | |
| .field private static final URL_FRAGMENT_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
| .field public static final URL_PATH_OTHER_SAFE_CHARS_LACKING_PLUS:Ljava/lang/String; = "-._~!$\'()*,;&=@:"
 | |
| 
 | |
| .field private static final URL_PATH_SEGMENT_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Lcom/google/common/net/PercentEscaper;
 | |
| 
 | |
|     const-string v1, "-_.*"
 | |
| 
 | |
|     const/4 v2, 0x1
 | |
| 
 | |
|     invoke-direct {v0, v1, v2}, Lcom/google/common/net/PercentEscaper;-><init>(Ljava/lang/String;Z)V
 | |
| 
 | |
|     sput-object v0, Lcom/google/common/net/UrlEscapers;->URL_FORM_PARAMETER_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v0, Lcom/google/common/net/PercentEscaper;
 | |
| 
 | |
|     const-string v1, "-._~!$\'()*,;&=@:+"
 | |
| 
 | |
|     const/4 v2, 0x0
 | |
| 
 | |
|     invoke-direct {v0, v1, v2}, Lcom/google/common/net/PercentEscaper;-><init>(Ljava/lang/String;Z)V
 | |
| 
 | |
|     sput-object v0, Lcom/google/common/net/UrlEscapers;->URL_PATH_SEGMENT_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
|     .line 3
 | |
|     new-instance v0, Lcom/google/common/net/PercentEscaper;
 | |
| 
 | |
|     const-string v1, "-._~!$\'()*,;&=@:+/?"
 | |
| 
 | |
|     invoke-direct {v0, v1, v2}, Lcom/google/common/net/PercentEscaper;-><init>(Ljava/lang/String;Z)V
 | |
| 
 | |
|     sput-object v0, Lcom/google/common/net/UrlEscapers;->URL_FRAGMENT_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method private constructor <init>()V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static urlFormParameterEscaper()Lcom/google/common/escape/Escaper;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Lcom/google/common/net/UrlEscapers;->URL_FORM_PARAMETER_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public static urlFragmentEscaper()Lcom/google/common/escape/Escaper;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Lcom/google/common/net/UrlEscapers;->URL_FRAGMENT_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public static urlPathSegmentEscaper()Lcom/google/common/escape/Escaper;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Lcom/google/common/net/UrlEscapers;->URL_PATH_SEGMENT_ESCAPER:Lcom/google/common/escape/Escaper;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 |