.class public final Lorg/apache/http/protocol/HTTP; .super Ljava/lang/Object; .source "HTTP.java" # static fields .field public static final ASCII:Ljava/lang/String; = "ASCII" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final CHARSET_PARAM:Ljava/lang/String; = "; charset=" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final CHUNK_CODING:Ljava/lang/String; = "chunked" .field public static final CONN_CLOSE:Ljava/lang/String; = "Close" .field public static final CONN_DIRECTIVE:Ljava/lang/String; = "Connection" .field public static final CONN_KEEP_ALIVE:Ljava/lang/String; = "Keep-Alive" .field public static final CONTENT_ENCODING:Ljava/lang/String; = "Content-Encoding" .field public static final CONTENT_LEN:Ljava/lang/String; = "Content-Length" .field public static final CONTENT_TYPE:Ljava/lang/String; = "Content-Type" .field public static final CR:I = 0xd .field public static final DATE_HEADER:Ljava/lang/String; = "Date" .field public static final DEFAULT_CONTENT_CHARSET:Ljava/lang/String; = "ISO-8859-1" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final DEFAULT_CONTENT_TYPE:Ljava/lang/String; = "application/octet-stream" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final DEFAULT_PROTOCOL_CHARSET:Ljava/lang/String; = "US-ASCII" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final DEF_CONTENT_CHARSET:Ljava/nio/charset/Charset; .field public static final DEF_PROTOCOL_CHARSET:Ljava/nio/charset/Charset; .field public static final EXPECT_CONTINUE:Ljava/lang/String; = "100-continue" .field public static final EXPECT_DIRECTIVE:Ljava/lang/String; = "Expect" .field public static final HT:I = 0x9 .field public static final IDENTITY_CODING:Ljava/lang/String; = "identity" .field public static final ISO_8859_1:Ljava/lang/String; = "ISO-8859-1" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final LF:I = 0xa .field public static final OCTET_STREAM_TYPE:Ljava/lang/String; = "application/octet-stream" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final PLAIN_TEXT_TYPE:Ljava/lang/String; = "text/plain" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final SERVER_HEADER:Ljava/lang/String; = "Server" .field public static final SP:I = 0x20 .field public static final TARGET_HOST:Ljava/lang/String; = "Host" .field public static final TRANSFER_ENCODING:Ljava/lang/String; = "Transfer-Encoding" .field public static final USER_AGENT:Ljava/lang/String; = "User-Agent" .field public static final US_ASCII:Ljava/lang/String; = "US-ASCII" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final UTF_16:Ljava/lang/String; = "UTF-16" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field .field public static final UTF_8:Ljava/lang/String; = "UTF-8" .annotation runtime Ljava/lang/Deprecated; .end annotation .end field # direct methods .method static constructor ()V .registers 1 .line 69 sget-object v0, Lorg/apache/http/Consts;->ISO_8859_1:Ljava/nio/charset/Charset; sput-object v0, Lorg/apache/http/protocol/HTTP;->DEF_CONTENT_CHARSET:Ljava/nio/charset/Charset; .line 70 sget-object v0, Lorg/apache/http/Consts;->ASCII:Ljava/nio/charset/Charset; sput-object v0, Lorg/apache/http/protocol/HTTP;->DEF_PROTOCOL_CHARSET:Ljava/nio/charset/Charset; return-void .end method .method private constructor ()V .registers 1 .line 142 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static isWhitespace(C)Z .registers 2 const/16 v0, 0x20 if-eq p0, v0, :cond_13 const/16 v0, 0x9 if-eq p0, v0, :cond_13 const/16 v0, 0xd if-eq p0, v0, :cond_13 const/16 v0, 0xa if-ne p0, v0, :cond_11 goto :goto_13 :cond_11 const/4 p0, 0x0 goto :goto_14 :cond_13 :goto_13 const/4 p0, 0x1 :goto_14 return p0 .end method