com.groupbyinc.flux.http.netty4.Netty4HttpRequest.class Maven / Gradle / Ivy
???? 4 ? 1com/groupbyinc/flux/http/netty4/Netty4HttpRequest $com/groupbyinc/flux/rest/RestRequest Netty4HttpRequest.java 3com/groupbyinc/flux/http/netty4/Netty4HttpRequest$1 @com/groupbyinc/flux/http/netty4/Netty4HttpRequest$HttpHeadersMap HttpHeadersMap +com/groupbyinc/flux/rest/RestRequest$Method Method request ELcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest; channel 2Lcom/groupbyinc/flux/common/netty/channel/Channel; content 1Lcom/groupbyinc/flux/common/bytes/BytesReference; ?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest;Lcom/groupbyinc/flux/common/netty/channel/Channel;)V Ccom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest uri ()Ljava/lang/String; headers C()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders; y(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;Lcom/groupbyinc/flux/http/netty4/Netty4HttpRequest$1;)V
! _(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Ljava/lang/String;Ljava/util/Map;)V #
$ & ( 3()Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; * + /com/groupbyinc/flux/common/netty/buffer/ByteBuf -
isReadable ()Z / 0
. 1 0com/groupbyinc/flux/transport/netty4/Netty4Utils 3 toBytesReference d(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/bytes/BytesReference; 5 6
4 7 9 9com/groupbyinc/flux/common/xcontent/NamedXContentRegistry ; 0com/groupbyinc/flux/common/netty/channel/Channel = +com/groupbyinc/flux/common/bytes/BytesArray ? EMPTY -Lcom/groupbyinc/flux/common/bytes/BytesArray; A B @ C this 3Lcom/groupbyinc/flux/http/netty4/Netty4HttpRequest; xContentRegistry ;Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry; ?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest;Lcom/groupbyinc/flux/common/netty/channel/Channel;)V n(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Ljava/util/Map;Ljava/lang/String;Ljava/util/Map;)V J
K
java/util/Map M java/lang/String O params 5Ljava/util/Map; Ljava/util/Map; Ljava/lang/String; G()Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest; method /()Lcom/groupbyinc/flux/rest/RestRequest$Method; B()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod; V X Y >com/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod [ GET @Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod; ] ^ \ _ -Lcom/groupbyinc/flux/rest/RestRequest$Method; ] a b POST d ^ \ e d a g PUT i ^ \ j i a l DELETE n ^ \ o n a q HEAD s ^ \ t s a v OPTIONS x ^ \ y x a { PATCH } ^ \ ~ } a ? TRACE ? ^ \ ? ? a ? CONNECT ? ^ \ ? ? a ? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ? ()V ?
? ? Unexpected http method: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? toString ?
? ? (Ljava/lang/String;)V ?
? ?
httpMethod
hasContent /com/groupbyinc/flux/common/bytes/BytesReference ? length ()I ? ?
? ? 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; getRemoteAddress ()Ljava/net/SocketAddress;
remoteAddress ? ? > ? getLocalAddress localAddress ? ? > ?
getChannel 4()Lcom/groupbyinc/flux/common/netty/channel/Channel; Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature ?(Lcom/groupbyinc/flux/common/xcontent/NamedXContentRegistry;Ljava/util/Map;Ljava/lang/String;Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest;Lcom/groupbyinc/flux/common/netty/channel/Channel;)V
SourceFile InnerClasses !
? ? G*+,? ? Y,? ? "? %*,? '*-? ),? , ? 2? *,? , ? 8? :?
*? D? :? ? * G E F G G H G G ? 9 : ; # <