classes.io.netty.handler.codec.http.HttpVersion.class Maven / Gradle / Ivy
???? 2 ? ~ M
? ?
? ? ? ?
? ?
? ?
? ?
? ?
?
> ?
? ? ?
?
? ?
? ? ?
? ?
?
?
? ?
?
? ?
?
?
?
?
?
?
?
? I ?
? ?
? ?
? ?
? ? ? ? ? ? ?
? ?
?
?
? ?
?
?
? ?
? ?
? ?
? ?
? ? ? ? ? VERSION_PATTERN Ljava/util/regex/Pattern; HTTP_1_0_STRING Ljava/lang/String;
ConstantValue HTTP_1_1_STRING HTTP_1_0 )Lio/netty/handler/codec/http/HttpVersion; HTTP_1_1 protocolName majorVersion I minorVersion text keepAliveDefault Z bytes [B valueOf =(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpVersion; Code LineNumberTable LocalVariableTable version
StackMapTable ? version0 (Ljava/lang/String;Z)V this m Ljava/util/regex/Matcher; ? ? (Ljava/lang/String;IIZ)V (Ljava/lang/String;IIZZ)V i ()Ljava/lang/String; ()I isKeepAliveDefault ()Z toString hashCode equals (Ljava/lang/Object;)Z o Ljava/lang/Object; that compareTo ,(Lio/netty/handler/codec/http/HttpVersion;)I v encode (Lio/netty/buffer/ByteBuf;)V buf Lio/netty/buffer/ByteBuf; (Ljava/lang/Object;)I ()V Signature SLjava/lang/Object;Ljava/lang/Comparable;
SourceFile HttpVersion.java java/lang/NullPointerException [ ? ? ? e ? h "java/lang/IllegalArgumentException
text is empty Z S 'io/netty/handler/codec/http/HttpVersion [ \ HTTP/1.1 k l H G HTTP/1.0 F G [ y ? e
empty text @ A ? ? ? ? ? h java/lang/StringBuilder invalid version format: ? ? i e ? ? I C ? ? ? J K L K ? ? ? ? M C N O P Q [ c empty protocolName ? f ? ? ? ? ? ? ? !invalid character in protocolName negative majorVersion negative minorVersion ? ? ? ? ? M e I e j f J f L f p ? ? ? ? ? ? ? p q (\S+)/(\d+)\.(\d+) ? ? HTTP java/lang/Object java/lang/Comparable java/lang/String java/util/regex/Matcher (Ljava/lang/String;)V trim isEmpty toUpperCase java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; matches append -(Ljava/lang/String;)Ljava/lang/StringBuilder; group (I)Ljava/lang/String; java/lang/Integer parseInt (Ljava/lang/String;)I (C)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; length charAt (I)C java/lang/Character isISOControl (C)Z isWhitespace io/netty/util/CharsetUtil US_ASCII Ljava/nio/charset/Charset; getBytes (Ljava/nio/charset/Charset;)[B $io/netty/handler/codec/http/HttpUtil encodeAscii0 4(Ljava/lang/CharSequence;Lio/netty/buffer/ByteBuf;)V io/netty/buffer/ByteBuf
writeBytes ([B)Lio/netty/buffer/ByteBuf; compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; !
> ? @ A B C D E C D F G H G I C J K L K M C N O P Q R S T ? 9*?
? Y? ?*? K*? ?
? Y? ?*? L+?
?
Y*? L+? U &