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

com.groupbyinc.flux.common.apache.http.nio.protocol.ThrottlingHttpServiceHandler.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2
Pcom/groupbyinc/flux/common/apache/http/nio/protocol/ThrottlingHttpServiceHandlerDcom/groupbyinc/flux/common/apache/http/nio/protocol/NHttpHandlerBase>com/groupbyinc/flux/common/apache/http/nio/NHttpServiceHandler!ThrottlingHttpServiceHandler.javaLjava/lang/Deprecated;\(Lcom/groupbyinc/flux/common/apache/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/apache/http/HttpResponseFactory;Lcom/groupbyinc/flux/common/apache/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/apache/http/nio/util/ByteBufferAllocator;Ljava/util/concurrent/Executor;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V(Lcom/groupbyinc/flux/common/apache/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/apache/http/ConnectionReuseStrategy;Lcom/groupbyinc/flux/common/apache/http/nio/util/ByteBufferAllocator;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V
Response factory!0com/groupbyinc/flux/common/apache/http/util/Args#notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;%&
$'Executor)	+	-params:Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;/0	1http.nio.content-buffer-size38com/groupbyinc/flux/common/apache/http/params/HttpParams5getIntParameter(Ljava/lang/String;I)I7869	;thisRLcom/groupbyinc/flux/common/apache/http/nio/protocol/ThrottlingHttpServiceHandler;
httpProcessor?Lcom/groupbyinc/flux/common/apache/http/protocol/HttpProcessor;connStrategy@Lcom/groupbyinc/flux/common/apache/http/ConnectionReuseStrategy;	allocatorELcom/groupbyinc/flux/common/apache/http/nio/util/ByteBufferAllocator;(Lcom/groupbyinc/flux/common/apache/http/protocol/HttpProcessor;Lcom/groupbyinc/flux/common/apache/http/HttpResponseFactory;Lcom/groupbyinc/flux/common/apache/http/ConnectionReuseStrategy;Ljava/util/concurrent/Executor;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)VIcom/groupbyinc/flux/common/apache/http/nio/util/DirectByteBufferAllocatorFINSTANCEKLcom/groupbyinc/flux/common/apache/http/nio/util/DirectByteBufferAllocator;HI	GJ
LsetHandlerResolverO(Lcom/groupbyinc/flux/common/apache/http/protocol/HttpRequestHandlerResolver;)V	PsetExpectationVerifierL(Lcom/groupbyinc/flux/common/apache/http/protocol/HttpExpectationVerifier;)V	T	connectedE(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;)V@com/groupbyinc/flux/common/apache/http/nio/NHttpServerConnectionX
getContext?()Lcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;Z[Y\CD	^(ILcom/groupbyinc/flux/common/apache/http/nio/IOControl;Lcom/groupbyinc/flux/common/apache/http/nio/util/ByteBufferAllocator;)V`
ahttp.nio.conn-statec;com/groupbyinc/flux/common/apache/http/protocol/HttpContextesetAttribute'(Ljava/lang/String;Ljava/lang/Object;)Vghfi
eventListenerCLcom/groupbyinc/flux/common/apache/http/nio/protocol/EventListener;kl	mAcom/groupbyinc/flux/common/apache/http/nio/protocol/EventListeneroconnectionOpen?(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpConnection;)VqrpsconnBLcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;context=Lcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;	connStatebLcom/groupbyinc/flux/common/apache/http/nio/protocol/ThrottlingHttpServiceHandler$ServerConnState;closedgetAttribute&(Ljava/lang/String;)Ljava/lang/Object;|}f~close()V??
?java/lang/Object?	notifyAll??
??java/lang/Throwable?connectionClosed?rp?	exception{(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;Lcom/groupbyinc/flux/common/apache/http/HttpException;)Vjava/io/IOException?4com/groupbyinc/flux/common/apache/http/HttpException?isResponseSubmitted()Z??Y?fatalProtocolExceptionu(Lcom/groupbyinc/flux/common/apache/http/HttpException;Lcom/groupbyinc/flux/common/apache/http/nio/NHttpConnection;)V??p?2com/groupbyinc/flux/common/apache/http/HttpVersion?HTTP_1_04Lcom/groupbyinc/flux/common/apache/http/HttpVersion;??	??:com/groupbyinc/flux/common/apache/http/HttpResponseFactory?newHttpResponse?(Lcom/groupbyinc/flux/common/apache/http/ProtocolVersion;ILcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/apache/http/HttpResponse;????Acom/groupbyinc/flux/common/apache/http/params/DefaultedHttpParams?3com/groupbyinc/flux/common/apache/http/HttpResponse?	getParams<()Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;????w(Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V?
??	setParams=(Lcom/groupbyinc/flux/common/apache/http/params/HttpParams;)V????handleExceptionn(Lcom/groupbyinc/flux/common/apache/http/HttpException;Lcom/groupbyinc/flux/common/apache/http/HttpResponse;)V??
?	setEntity6(Lcom/groupbyinc/flux/common/apache/http/HttpEntity;)V?????@	?=com/groupbyinc/flux/common/apache/http/protocol/HttpProcessor?processu(Lcom/groupbyinc/flux/common/apache/http/HttpResponse;Lcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;)V????setResponse8(Lcom/groupbyinc/flux/common/apache/http/HttpResponse;)V??
?
requestOutput??Y?shutdownConnectionT(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpConnection;Ljava/lang/Throwable;)V??
?fatalIOExceptionT(Ljava/io/IOException;Lcom/groupbyinc/flux/common/apache/http/nio/NHttpConnection;)V??p?closeConnection??
?response5Lcom/groupbyinc/flux/common/apache/http/HttpResponse;exLjava/io/IOException;6Lcom/groupbyinc/flux/common/apache/http/HttpException;httpexZ(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;Ljava/io/IOException;)Vtimeout
handleTimeout?r
?requestReceivedgetHttpRequest6()Lcom/groupbyinc/flux/common/apache/http/HttpRequest;??Y?Acom/groupbyinc/flux/common/apache/http/HttpEntityEnclosingRequest?	getEntity5()Lcom/groupbyinc/flux/common/apache/http/HttpEntity;????2com/groupbyinc/flux/common/apache/http/HttpRequest?suspendInput??Y?-(Lcom/groupbyinc/flux/common/apache/http/nio/protocol/ThrottlingHttpServiceHandler;Lcom/groupbyinc/flux/common/apache/http/HttpRequest;Lcom/groupbyinc/flux/common/apache/http/nio/protocol/ThrottlingHttpServiceHandler$ServerConnState;Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;)V?
?java/util/concurrent/Executor?execute(Ljava/lang/Runnable;)V????entity3Lcom/groupbyinc/flux/common/apache/http/HttpEntity;contentExpectedZrequest4Lcom/groupbyinc/flux/common/apache/http/HttpRequest;
inputReady?(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;Lcom/groupbyinc/flux/common/apache/http/nio/ContentDecoder;)VgetInbufferF()Lcom/groupbyinc/flux/common/apache/http/nio/util/ContentInputBuffer;
Bcom/groupbyinc/flux/common/apache/http/nio/util/ContentInputBuffer	consumeContent>(Lcom/groupbyinc/flux/common/apache/http/nio/ContentDecoder;)I

9com/groupbyinc/flux/common/apache/http/nio/ContentDecoderisCompleted?
setInputState(I)V
bufferDLcom/groupbyinc/flux/common/apache/http/nio/util/ContentInputBuffer;decoder;Lcom/groupbyinc/flux/common/apache/http/nio/ContentDecoder;
responseReadyisExpectationFailed?

resetInput ?Y!setExpectationFailed(Z)V#$
%getResponse7()Lcom/groupbyinc/flux/common/apache/http/HttpResponse;'(
)getOutputState()I+,
-submitResponse/?Y0
getStatusLine5()Lcom/groupbyinc/flux/common/apache/http/StatusLine;23?41com/groupbyinc/flux/common/apache/http/StatusLine6
getStatusCode8,79??setOutputState<
=AB	?>com/groupbyinc/flux/common/apache/http/ConnectionReuseStrategyA	keepAliveu(Lcom/groupbyinc/flux/common/apache/http/HttpResponse;Lcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;)ZCDBEY?1com/groupbyinc/flux/common/apache/http/HttpEntityH
statusCodeoutputReady?(Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;Lcom/groupbyinc/flux/common/apache/http/nio/ContentEncoder;)VgetOutbufferG()Lcom/groupbyinc/flux/common/apache/http/nio/util/ContentOutputBuffer;MN
OCcom/groupbyinc/flux/common/apache/http/nio/util/ContentOutputBufferQproduceContent>(Lcom/groupbyinc/flux/common/apache/http/nio/ContentEncoder;)ISTRU9com/groupbyinc/flux/common/apache/http/nio/ContentEncoderWXELcom/groupbyinc/flux/common/apache/http/nio/util/ContentOutputBuffer;encoder;Lcom/groupbyinc/flux/common/apache/http/nio/ContentEncoder;Bcom/groupbyinc/flux/common/apache/http/MethodNotSupportedException]
setStatusCode_?`Fcom/groupbyinc/flux/common/apache/http/UnsupportedHttpVersionExceptionb8com/groupbyinc/flux/common/apache/http/ProtocolExceptiond
getMessage()Ljava/lang/String;fg
?h9com/groupbyinc/flux/common/apache/http/util/EncodingUtilsj
getAsciiBytes(Ljava/lang/String;)[Blm
kn=com/groupbyinc/flux/common/apache/http/entity/ByteArrayEntityp([B)Vr
qstext/plain; charset=US-ASCIIusetContentType(Ljava/lang/String;)Vwx
qymsg[B?Lcom/groupbyinc/flux/common/apache/http/entity/ByteArrayEntity;
handleRequest?(Lcom/groupbyinc/flux/common/apache/http/HttpRequest;Lcom/groupbyinc/flux/common/apache/http/nio/protocol/ThrottlingHttpServiceHandler$ServerConnState;Lcom/groupbyinc/flux/common/apache/http/nio/NHttpServerConnection;)Vjava/lang/InterruptedException?wait??
??shutdown??
?
setRequest7(Lcom/groupbyinc/flux/common/apache/http/HttpRequest;)V??
?????http.connection?http.request?getRequestLine6()Lcom/groupbyinc/flux/common/apache/http/RequestLine;????2com/groupbyinc/flux/common/apache/http/RequestLine?getProtocolVersion:()Lcom/groupbyinc/flux/common/apache/http/ProtocolVersion;????HTTP_1_1??	??6com/groupbyinc/flux/common/apache/http/ProtocolVersion?
lessEquals;(Lcom/groupbyinc/flux/common/apache/http/ProtocolVersion;)Z??
??expectContinue????Gcom/groupbyinc/flux/common/apache/http/protocol/HttpExpectationVerifier?verify?(Lcom/groupbyinc/flux/common/apache/http/HttpRequest;Lcom/groupbyinc/flux/common/apache/http/HttpResponse;Lcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;)V????resetOutput??
???Ecom/groupbyinc/flux/common/apache/http/nio/entity/ContentBufferEntity?z(Lcom/groupbyinc/flux/common/apache/http/HttpEntity;Lcom/groupbyinc/flux/common/apache/http/nio/util/ContentInputBuffer;)V?
??
http.response?t(Lcom/groupbyinc/flux/common/apache/http/HttpRequest;Lcom/groupbyinc/flux/common/apache/http/protocol/HttpContext;)V????getUri?g??Jcom/groupbyinc/flux/common/apache/http/protocol/HttpRequestHandlerResolver?lookupX(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/http/protocol/HttpRequestHandler;????Bcom/groupbyinc/flux/common/apache/http/protocol/HttpRequestHandler?handle????7com/groupbyinc/flux/common/apache/http/util/EntityUtils?consume??
??
!canResponseHaveBodyl(Lcom/groupbyinc/flux/common/apache/http/HttpRequest;Lcom/groupbyinc/flux/common/apache/http/HttpResponse;)Z??
?Ecom/groupbyinc/flux/common/apache/http/nio/entity/ContentOutputStream?H(Lcom/groupbyinc/flux/common/apache/http/nio/util/ContentOutputBuffer;)V?
??writeTo(Ljava/io/OutputStream;)V??I?java/io/OutputStream?flush??
??
??requestInput??Y?currentState Ljava/lang/InterruptedException;	eeRequestCLcom/groupbyinc/flux/common/apache/http/HttpEntityEnclosingRequest;
requestURILjava/lang/String;handlerDLcom/groupbyinc/flux/common/apache/http/protocol/HttpRequestHandler;	outstreamLjava/io/OutputStream;ver8Lcom/groupbyinc/flux/common/apache/http/ProtocolVersion;:com/groupbyinc/flux/common/apache/http/nio/NHttpConnection??\
?7?@77AB7CD77/0?
????$?6?Eo*+,-?K?M?>=>?@AB/0
??NO>*+?Q?=>
??RS>*+?U?=>
??VW?3+?]M?Y*?<+*?_?bN,d-?j*?n?
*?n+?t?*3=>3uv,wxyz???!?(?2??2f{W?D+?]M,d??N-?-Y:?-??-??ç:??*?n?
*?n+???'**/**D=>Duv=wx1yz*
????? ?$?2?9?C??*Yf??????+???*?n?*?n,+???+?]N-d??:*?,???-??:??Y??*?2????*,????*??-??Y:???+??ç:???>:*+??*?n?*?n+???:*+??*?n?*?n+???|?????0???0???RBU?????????=>?uv???#?wx0?yzj?	????#?0?B?[?b?j?v?|???????????????????????????0?rY?f????B?B???l*+,??*?n?*?n,+??? =>uv????
???W>*+??=>uv
???Wb	r+?]M+??N,d??:Y:?6-??-???:?6?	+??*?.?Y*-+??????ç:???!fiiniH6??$??r=>ruvkwxdWyz>????!?$?+?6?;?>CI^cq<?>Yf??
?Yf????xu+?]N-d??:Y:??:,?W,????	???ç:???:*+??*?n?*?n+???JMMRMUX?H!&Z??u=>uuvunwxayzB "&'!)**3+<-B0G1U8X3Z4a5h6t:C?<Yf?
?
Yf???B?W7	?+?]M,d??N-Y:?-??+?"-?&-?*:-?.?a?\+???S+?1?5?:6?;:ȡ&?!- ?>*?@,?F?+?G?	-?>-??ç:???>:*+??*?n?*?n+???:*+??*?n?*?n+??????????????\	[:Jd1??0i?????????=>?uv?wx?yzv=?CDH%I*L0MEQMR[SdUqVwX?Y?\?`?a?m?c?d?e?f?m?h?i?j?k?nA	?*f??d?I??	Yf???B?B?KL?	?+?]N-d??:Y:??*:?P:,?VW,?Y?" ?>*?@-?F?+?G?
?>??ç:???:*+??*?n?*?n+???hkkpksv?R!D??(=Zx???=>?uv?[\?wxyzNqswx!y({1|:}AP?Y?`?e?s?v?x??????F?YYXf??R?
YXf???B????e+?^?,??a?2+?c?,??a?+?e?,??a?,??a+?i?oN?qY-?t:v?z,???4e=>e??e??J{|T?}2????&?-?9?B?J?T?\?d?~Q`-?]:,Y:?,?.6???ñ,?????
:,??ñ,?,+??ç:??+??Y+??*?2?????-?j?+?j+????:???????::+??*+??:????*?,d??:??Y??*?2????*?U?J*?U+???9:*?,?????:??Y??*?2????*??,Y:??5?:ȢG,??-??,?.6		??	?ñ,?????
:	,??ñ,??:???-??,?&ç:
?
??????Y??,???????*?,???:??Y??*?2??????j*??+??:*?Q?+????:*?Q??:?+???
??a?9:*?,?????:??Y??*?2????*??+??+??:??:??,??*????*+?Ӛ??,??-???;?0,?P:??Y??:?;:		??????,Y:?,?.6 ???ñ,?????
:,??ñ,??-??,??ç:???
!/?%,/?
$I%8I9FIINI????Pft?jqt?2i?j}?~?????VY?+9?/69?.W/BWCTWW\W??1???4??V?	v??	?!??+
?????[4?????????'Z??????	?;??`=>``yz`uvXwx?????????m??
????!?%?)?,?/?1?5?9?>?C?Q?h?s?~????????????????????????????%?-?2?D?J?P?V?]?`?f?j?n?q?t?v?z?~?????????????
???+8 =!L#V,Y&['n)?+?/?0?1?2?6?8?:?;?>?@?B?C?D?F?GHILOP"Q%S+T/V3W6[9X;Y?ZC\G]M^Q__`?&?
f??
	?B?	O???I??[?Yf????5?"??	?B?		E???"?k??	B?5"?B???	?B?	S???????%+??N-d??:*+,??????4%=>%u?%??wxyzdfhjk$m?$f??P*+,-???*?>??z?vr??	
	
e




© 2015 - 2025 Weber Informatics LLC | Privacy Policy