io.netty.handler.codec.http.HttpMethod.class Maven / Gradle / Ivy
???? 2 ? &io/netty/handler/codec/http/HttpMethod RLjava/lang/Object;Ljava/lang/Comparable; java/lang/Object java/lang/Comparable HttpMethod.java OPTIONS (Lio/netty/handler/codec/http/HttpMethod; GET HEAD POST PUT PATCH DELETE TRACE CONNECT methodMap Ljava/util/Map; KLjava/util/Map; name Lio/netty/util/AsciiString; valueOf <(Ljava/lang/String;)Lio/netty/handler/codec/http/HttpMethod;
java/util/Map get &(Ljava/lang/Object;)Ljava/lang/Object; (Ljava/lang/String;)V " #
$ Ljava/lang/String; result ()V " (
) !io/netty/util/internal/ObjectUtil , checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; . /
- 0 java/lang/String 2 trim ()Ljava/lang/String; 4 5
3 6 isEmpty ()Z 8 9
3 : "java/lang/IllegalArgumentException <
empty name >
= $ length ()I A B
3 C charAt (I)C E F
3 G java/lang/Character I isISOControl (C)Z K L
J M isWhitespace O L
J P invalid character in name R io/netty/util/AsciiString T (Ljava/lang/CharSequence;)V " V
U W Y c C i I this toString ` 5
U a asciiName ()Lio/netty/util/AsciiString; hashCode 5
f e B
3 h equals (Ljava/lang/Object;)Z j k
3 l o Ljava/lang/Object; that compareTo +(Lio/netty/handler/codec/http/HttpMethod;)I (Ljava/lang/String;)I q s
3 t (Ljava/lang/Object;)I q r
w
{
~
?
?
?
?
?
?
? java/util/HashMap ?
? )
a put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? Signature Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile !
?
? h ? *? ! ? L+? +? ? Y*? %? ? &