All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.http.netty4.Netty4HttpChannel.class Maven / Gradle / Ivy

????4?1com/groupbyinc/flux/http/netty4/Netty4HttpChannel,com/groupbyinc/flux/rest/AbstractRestChannelNetty4HttpChannel.javajava/util/Map$Entry
java/util/MapEntry%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandles
Lookup	transport;Lcom/groupbyinc/flux/http/netty4/Netty4HttpServerTransport;channelLio/netty/channel/Channel;nettyRequest-Lio/netty/handler/codec/http/FullHttpRequest;pipelinedRequestALcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequest;
threadContext:Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;TOO_MANY_REQUESTS0Lio/netty/handler/codec/http/HttpResponseStatus;MAPLjava/util/Map;fLjava/util/Map;?(Lcom/groupbyinc/flux/http/netty4/Netty4HttpServerTransport;Lcom/groupbyinc/flux/http/netty4/Netty4HttpRequest;Lcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequest;ZLcom/groupbyinc/flux/common/util/concurrent/ThreadContext;)V*(Lcom/groupbyinc/flux/rest/RestRequest;Z)V!
"	$1com/groupbyinc/flux/http/netty4/Netty4HttpRequest&
getChannel()Lio/netty/channel/Channel;()
'*	,request/()Lio/netty/handler/codec/http/FullHttpRequest;./
'0	2	4	6this3Lcom/groupbyinc/flux/http/netty4/Netty4HttpChannel;3Lcom/groupbyinc/flux/http/netty4/Netty4HttpRequest;detailedErrorsEnabledZnewBytesOutput:()Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput;@com/groupbyinc/flux/common/io/stream/ReleasableBytesStreamOutput?9com/groupbyinc/flux/http/netty4/Netty4HttpServerTransportA	bigArrays+Lcom/groupbyinc/flux/common/util/BigArrays;CD	BE.(Lcom/groupbyinc/flux/common/util/BigArrays;)VG
@HsendResponse*(Lcom/groupbyinc/flux/rest/RestResponse;)V%com/groupbyinc/flux/rest/RestResponseLcontent3()Lcom/groupbyinc/flux/common/bytes/BytesReference;NO
MP0com/groupbyinc/flux/transport/netty4/Netty4UtilsR	toByteBufL(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lio/netty/buffer/ByteBuf;TU
SV&io/netty/handler/codec/http/HttpMethodXHEAD(Lio/netty/handler/codec/http/HttpMethod;Z[	Y\+io/netty/handler/codec/http/FullHttpRequest^method*()Lio/netty/handler/codec/http/HttpMethod;`a_bequals(Ljava/lang/Object;)Zde
Yfio/netty/buffer/UnpooledhEMPTY_BUFFERLio/netty/buffer/ByteBuf;jk	ilnewResponseI(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/http/FullHttpResponse;no
pio/netty/buffer/ByteBufr,io/netty/handler/codec/http/FullHttpResponsetstatus'()Lcom/groupbyinc/flux/rest/RestStatus;vw
Mx	getStatusW(Lcom/groupbyinc/flux/rest/RestStatus;)Lio/netty/handler/codec/http/HttpResponseStatus;z{
|	setStatus`(Lio/netty/handler/codec/http/HttpResponseStatus;)Lio/netty/handler/codec/http/FullHttpResponse;~u?
getCorsConfig9()Lcom/groupbyinc/flux/http/netty4/cors/Netty4CorsConfig;??
B?6com/groupbyinc/flux/http/netty4/cors/Netty4CorsHandler?setCorsResponseHeaders?(Lio/netty/handler/codec/http/HttpRequest;Lio/netty/handler/codec/http/HttpResponse;Lcom/groupbyinc/flux/http/netty4/cors/Netty4CorsConfig;)V??
??headers+()Lio/netty/handler/codec/http/HttpHeaders;??_?X-Opaque-Id?'io/netty/handler/codec/http/HttpHeaders?get&(Ljava/lang/String;)Ljava/lang/String;??
??setHeaderFieldQ(Lio/netty/handler/codec/http/HttpResponse;Ljava/lang/String;Ljava/lang/String;)V??
?java/lang/String?
getHeaders()Ljava/util/Map;??
M?addCustomHeaders<(Lio/netty/handler/codec/http/HttpResponse;Ljava/util/Map;)V??
?8com/groupbyinc/flux/common/util/concurrent/ThreadContext?getResponseHeaders??
??+com/groupbyinc/flux/common/lease/Releasable?bytesOutputOrNull?>
?+io/netty/handler/codec/http/HttpHeaderNames?CONTENT_TYPELio/netty/util/AsciiString;??	??io/netty/util/AsciiString?toString()Ljava/lang/String;??
??contentType??
M?R(Lio/netty/handler/codec/http/HttpResponse;Ljava/lang/String;Ljava/lang/String;Z)V??
?CONTENT_LENGTH??	??
readableBytes()I??
s?valueOf(I)Ljava/lang/String;??
??
addCookies-(Lio/netty/handler/codec/http/HttpResponse;)V??
?io/netty/channel/Channel?
newPromise#()Lio/netty/channel/ChannelPromise;????"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
???$(Lio/netty/util/concurrent/Future;)V?lambda$sendResponse$0U(Lcom/groupbyinc/flux/common/bytes/BytesReference;Lio/netty/util/concurrent/Future;)V??
??operationCompletec(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lio/netty/util/concurrent/GenericFutureListener;???io/netty/channel/ChannelPromise?addListenerS(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelPromise;????/com/groupbyinc/flux/common/bytes/BytesReference?lambda$sendResponse$1??
??e(Lcom/groupbyinc/flux/http/netty4/Netty4HttpChannel;)Lio/netty/util/concurrent/GenericFutureListener;???isCloseConnection()Z??
?&io/netty/channel/ChannelFutureListener?CLOSE(Lio/netty/channel/ChannelFutureListener;??	??com/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequestcreateHttpResponse?(Lio/netty/handler/codec/http/FullHttpResponse;Lio/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedResponse;
java/lang/Object
writeAndFlushU(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
?close()V?6com/groupbyinc/flux/common/io/stream/BytesStreamOutput
release?
java/lang/Throwableresp.Lio/netty/handler/codec/http/FullHttpResponse;msgLjava/lang/Object;promise!Lio/netty/channel/ChannelPromise;response'Lcom/groupbyinc/flux/rest/RestResponse;bufferopaqueLjava/lang/String;1Lcom/groupbyinc/flux/common/bytes/BytesReference;releaseContentreleaseBytesStreamOutput*Lio/netty/handler/codec/http/HttpResponse;headerFieldvalue(io/netty/handler/codec/http/HttpResponse+,?contains(Ljava/lang/String;)Z./
?0addO(Ljava/lang/String;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;23
?4overrideresetCookies7<	B8COOKIE:?	?;,(Ljava/lang/CharSequence;)Ljava/lang/String;?=
?>6io/netty/handler/codec/http/cookie/ServerCookieDecoder@STRICT8Lio/netty/handler/codec/http/cookie/ServerCookieDecoder;BC	ADdecode#(Ljava/lang/String;)Ljava/util/Set;FG
AH
java/util/SetJisEmptyL?KM
SET_COOKIEO?	?P6io/netty/handler/codec/http/cookie/ServerCookieEncoderR8Lio/netty/handler/codec/http/cookie/ServerCookieEncoder;BT	SUencode((Ljava/util/Collection;)Ljava/util/List;WX
SYsetW(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lio/netty/handler/codec/http/HttpHeaders;[\
?]cookies;Ljava/util/Set;cookieStringentrySet()Ljava/util/Set;cd	eiterator()Ljava/util/Iterator;ghKijava/util/IteratorkhasNextm?lnnext()Ljava/lang/Object;pqlrgetValuetqujava/util/ListwxigetKeyzq{headerValueheaderEntryMLjava/util/Map$Entry;>;Ljava/util/Map$Entry;
customHeadersGLjava/util/Map;>;isHttp10protocolVersion+()Lio/netty/handler/codec/http/HttpVersion;??_?'io/netty/handler/codec/http/HttpVersion?HTTP_1_0)Lio/netty/handler/codec/http/HttpVersion;??	??
?f??
?,io/netty/handler/codec/http/HttpHeaderValues???	??
CONNECTION??	??contentEqualsIgnoreCase(Ljava/lang/CharSequence;)Z??
??
KEEP_ALIVE??	??http10.io/netty/handler/codec/http/HttpResponseStatus?OK?	??3io/netty/handler/codec/http/DefaultFullHttpResponse?u(Lio/netty/handler/codec/http/HttpVersion;Lio/netty/handler/codec/http/HttpResponseStatus;Lio/netty/buffer/ByteBuf;)V?
??u?
Keep-Alive?U(Ljava/lang/CharSequence;Ljava/lang/Object;)Lio/netty/handler/codec/http/HttpHeaders;2?
??HTTP_1_1??	??	?INTERNAL_SERVER_ERROR?	??getOrDefault8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??	?%Lcom/groupbyinc/flux/rest/RestStatus;java/lang/Exception?f!Lio/netty/util/concurrent/Future;Too Many Requests?(ILjava/lang/String;)V?
??	?java/util/EnumMap?#com/groupbyinc/flux/rest/RestStatus?(Ljava/lang/Class;)V?
??CONTINUE??	???	??put6(Ljava/lang/Enum;Ljava/lang/Object;)Ljava/lang/Object;??
??SWITCHING_PROTOCOLS??	???	????	??CREATED??	???	??ACCEPTED??	???	??NON_AUTHORITATIVE_INFORMATION??	???	??
NO_CONTENT??	???	??
RESET_CONTENT??	???	??PARTIAL_CONTENT??	???	??MULTI_STATUS??	??MULTIPLE_CHOICES?	?	?MOVED_PERMANENTLY?	?	?	FOUND?	?	?	SEE_OTHER?	?	?NOT_MODIFIED?	?	?	USE_PROXY?	?	?TEMPORARY_REDIRECT?	? 	?"BAD_REQUEST$?	?%$	?'UNAUTHORIZED)?	?*)	?,PAYMENT_REQUIRED.?	?/.	?1	FORBIDDEN3?	?43	?6	NOT_FOUND8?	?98	?;METHOD_NOT_ALLOWED=?	?>=	?@NOT_ACCEPTABLEB?	?CB	?EPROXY_AUTHENTICATIONG?	?HPROXY_AUTHENTICATION_REQUIREDJ	?KREQUEST_TIMEOUTM?	?NM	?PCONFLICTR?	?SR	?UGONEW?	?XW	?ZLENGTH_REQUIRED\?	?]\	?_PRECONDITION_FAILEDa?	?ba	?dREQUEST_ENTITY_TOO_LARGEf?	?gf	?iREQUEST_URI_TOO_LONGk?	?lk	?nUNSUPPORTED_MEDIA_TYPEp?	?qp	?sREQUESTED_RANGE_NOT_SATISFIEDu?	?vREQUESTED_RANGE_NOT_SATISFIABLEx	?yEXPECTATION_FAILED{?	?|{	?~UNPROCESSABLE_ENTITY??	??LOCKED??	??FAILED_DEPENDENCY??	???	????	??NOT_IMPLEMENTED??	???	??BAD_GATEWAY??	???	??SERVICE_UNAVAILABLE??	???	??GATEWAY_TIMEOUT??	???	??HTTP_VERSION_NOT_SUPPORTED??	???	??java/util/Collections?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
??mapjLjava/util/EnumMap;Ljava/util/EnumMap;	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTablet(Lio/netty/handler/codec/http/HttpResponse;Ljava/util/Map;>;)V
ExceptionsBootstrapMethods
SourceFileInnerClasses0
? ??(*,?#*+?%*,?+?-*,?1?3*-?5*?7??>(89((.:((;<(?NOPQR!S'T=>?9?@Y*?%?F?I??89?XJK?-?+?Q?WM?]*?3?c?g?*?m?qN?	*,?qN-+?y?}??W*?3-*?%????*?3?????:?*-???*-+????*-*?7????+?Q:??6*???@6*-????+????*-?Ķ?,?ȸ???*-??*?-??:?????W?*????W*??????W*?5?*?5-?:	?-:	*?-	?
W66?
????
*???*?5?=*?5?W?2:
?
????
*???*?5?*?5?W
???*WWYW?z"	?f	?89? !"k+\X/#$?N%??&<??'<??+_ab%d+f9hHjXk]lfpoq{s?t?u?x?z?|?~?????????????????$?'?*?/?9?>?E?L?W?^?h?m?t?{????P?%s?u?:??q	Msu????	?"Q?????U	*+,-????*	89	(	)$	*$?
???????+?-,?1?+?-,-?5W??489()$*$6<?????????D*?%?9?<*?3?????	?9@no??L*??=*??>??:?*??Y??+??:?&???????W???Y??+??:??H" L89L"kG?<
B<=vI ?&	??
???"?&?:?I???:??u
z{?:??*????????v?????<*?????89??????
???>
*?????
N%
??????????Y?÷ƳȻ?Y̷?K*?ҲԶ?W*?۲ݶ?W*?߲???W*????W*????W*????W*????W*??????W*??????W*?????W*????W*??
??W*?
???W*????W*????W*????W*?!?#??W*?&?(??W*?+?-??W*?0?2??W*?5?7??W*?:?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy