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

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

There is a newer version: 198
Show newest version
????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;channel2Lcom/groupbyinc/flux/common/netty/channel/Channel;nettyRequestELcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest;pipelinedRequestALcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequest;
threadContext:Lcom/groupbyinc/flux/common/util/concurrent/ThreadContext;TOO_MANY_REQUESTSHLcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus;MAPLjava/util/Map;~Ljava/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&
getChannel4()Lcom/groupbyinc/flux/common/netty/channel/Channel;()
'*	,requestG()Lcom/groupbyinc/flux/common/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	toByteBufd(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;TU
SV>com/groupbyinc/flux/common/netty/handler/codec/http/HttpMethodXHEAD@Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod;Z[	Y\Ccom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpRequest^methodB()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpMethod;`a_bequals(Ljava/lang/Object;)Zde
Yf0com/groupbyinc/flux/common/netty/buffer/UnpooledhEMPTY_BUFFER1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;jk	ilnewResponsey(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpResponse;no
p/com/groupbyinc/flux/common/netty/buffer/ByteBufrDcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpResponsetstatus'()Lcom/groupbyinc/flux/rest/RestStatus;vw
Mx	getStatuso(Lcom/groupbyinc/flux/rest/RestStatus;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus;z{
|	setStatus?(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpResponse;~u?
getCorsConfig9()Lcom/groupbyinc/flux/http/netty4/cors/Netty4CorsConfig;??
B?6com/groupbyinc/flux/http/netty4/cors/Netty4CorsHandler?setCorsResponseHeaders?(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpRequest;Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;Lcom/groupbyinc/flux/http/netty4/cors/Netty4CorsConfig;)V??
??headersC()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;??_?X-Opaque-Id??com/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders?get&(Ljava/lang/String;)Ljava/lang/String;??
??setHeaderFieldi(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;Ljava/lang/String;Ljava/lang/String;)V??
?java/lang/String?
getHeaders()Ljava/util/Map;??
M?addCustomHeadersT(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;Ljava/util/Map;)V??
?8com/groupbyinc/flux/common/util/concurrent/ThreadContext?getResponseHeaders??
??+com/groupbyinc/flux/common/lease/Releasable?bytesOutputOrNull?>
?Ccom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaderNames?CONTENT_TYPE3Lcom/groupbyinc/flux/common/netty/util/AsciiString;??	??1com/groupbyinc/flux/common/netty/util/AsciiString?toString()Ljava/lang/String;??
??contentType??
M?j(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;Ljava/lang/String;Ljava/lang/String;Z)V??
?CONTENT_LENGTH??	??
readableBytes()I??
s?valueOf(I)Ljava/lang/String;??
??
addCookiesE(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;)V??
?0com/groupbyinc/flux/common/netty/channel/Channel?
newPromise;()Lcom/groupbyinc/flux/common/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;??
???<(Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;)V?lambda$sendResponse$0m(Lcom/groupbyinc/flux/common/bytes/BytesReference;Lcom/groupbyinc/flux/common/netty/util/concurrent/Future;)V??
??operationComplete{(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;???7com/groupbyinc/flux/common/netty/channel/ChannelPromise?addListener?(Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;)Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;????/com/groupbyinc/flux/common/bytes/BytesReference?lambda$sendResponse$1??
??}(Lcom/groupbyinc/flux/http/netty4/Netty4HttpChannel;)Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;???isCloseConnection()Z??
?>com/groupbyinc/flux/common/netty/channel/ChannelFutureListener?CLOSE@Lcom/groupbyinc/flux/common/netty/channel/ChannelFutureListener;??	??com/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedRequestcreateHttpResponse?(Lcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpResponse;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/http/netty4/pipelining/HttpPipelinedResponse;
java/lang/Object
writeAndFlush?(Ljava/lang/Object;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;
?close()V?6com/groupbyinc/flux/common/io/stream/BytesStreamOutput
release?
java/lang/ThrowablerespFLcom/groupbyinc/flux/common/netty/handler/codec/http/FullHttpResponse;msgLjava/lang/Object;promise9Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;response'Lcom/groupbyinc/flux/rest/RestResponse;bufferopaqueLjava/lang/String;1Lcom/groupbyinc/flux/common/bytes/BytesReference;releaseContentreleaseBytesStreamOutputBLcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse;headerFieldvalue@com/groupbyinc/flux/common/netty/handler/codec/http/HttpResponse+,?contains(Ljava/lang/String;)Z./
?0addg(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;23
?4overrideresetCookies7<	B8COOKIE:?	?;,(Ljava/lang/CharSequence;)Ljava/lang/String;?=
?>Ncom/groupbyinc/flux/common/netty/handler/codec/http/cookie/ServerCookieDecoder@STRICTPLcom/groupbyinc/flux/common/netty/handler/codec/http/cookie/ServerCookieDecoder;BC	ADdecode#(Ljava/lang/String;)Ljava/util/Set;FG
AH
java/util/SetJisEmptyL?KM
SET_COOKIEO?	?PNcom/groupbyinc/flux/common/netty/handler/codec/http/cookie/ServerCookieEncoderRPLcom/groupbyinc/flux/common/netty/handler/codec/http/cookie/ServerCookieEncoder;BT	SUencode((Ljava/util/Collection;)Ljava/util/List;WX
SYseto(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaders;[\
?]cookiesTLjava/util/Set;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;>;isHttp10protocolVersionC()Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;??_??com/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion?HTTP_1_0ALcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;??	??
?f??
?Dcom/groupbyinc/flux/common/netty/handler/codec/http/HttpHeaderValues???	??
CONNECTION??	??contentEqualsIgnoreCase(Ljava/lang/CharSequence;)Z??
??
KEEP_ALIVE??	??http10Fcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus?OK?	??Kcom/groupbyinc/flux/common/netty/handler/codec/http/DefaultFullHttpResponse??(Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpVersion;Lcom/groupbyinc/flux/common/netty/handler/codec/http/HttpResponseStatus;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V?
??u?
Keep-Alive?m(Ljava/lang/CharSequence;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/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?f9Lcom/groupbyinc/flux/common/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;??
??map?Ljava/util/EnumMap;Ljava/util/EnumMap;	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable?(Lcom/groupbyinc/flux/common/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 - 2024 Weber Informatics LLC | Privacy Policy