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

com.groupbyinc.flux.common.http.impl.io.SessionInputBufferImpl.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2 >com/groupbyinc/flux/common/http/impl/io/SessionInputBufferImpljava/lang/Object5com/groupbyinc/flux/common/http/io/SessionInputBuffer-com/groupbyinc/flux/common/http/io/BufferInfoSessionInputBufferImpl.javametricsBLcom/groupbyinc/flux/common/http/impl/io/HttpTransportMetricsImpl;buffer[B
linebuffer6Lcom/groupbyinc/flux/common/http/util/ByteArrayBuffer;
minChunkLimitIconstraints;Lcom/groupbyinc/flux/common/http/config/MessageConstraints;decoder!Ljava/nio/charset/CharsetDecoder;instreamLjava/io/InputStream;	bufferpos	bufferlencbufLjava/nio/CharBuffer;?(Lcom/groupbyinc/flux/common/http/impl/io/HttpTransportMetricsImpl;IILcom/groupbyinc/flux/common/http/config/MessageConstraints;Ljava/nio/charset/CharsetDecoder;)V()V
HTTP transport metrcis!)com/groupbyinc/flux/common/http/util/Args#notNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;%&
$'Buffer size)positive(ILjava/lang/String;)I+,
$-
	/
	1	3	5@com/groupbyinc/flux/common/http/impl/io/HttpTransportMetricsImpl79com/groupbyinc/flux/common/http/config/MessageConstraints9java/nio/charset/CharsetDecoder;	=DEFAULT?	:@	B4com/groupbyinc/flux/common/http/util/ByteArrayBufferD(I)VF
EG	I	Kthis@Lcom/groupbyinc/flux/common/http/impl/io/SessionInputBufferImpl;
buffersizechardecoderF(Lcom/groupbyinc/flux/common/http/impl/io/HttpTransportMetricsImpl;I)V
Rbind(Ljava/io/InputStream;)V	VisBound()Zcapacity()Ilength	availableZ[
^\[
`
streamRead([BII)Ijava/io/IOExceptiondInput streamf,com/groupbyinc/flux/common/http/util/Assertsh'(Ljava/lang/Object;Ljava/lang/String;)V%j
ikjava/io/InputStreammreadoc
npbofflen
fillBufferjava/lang/Systemv	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)Vxy
wzbc
|incrementBytesTransferred(J)V~
8?lhasBufferedDataclear?Y
?u[
?noReadjava/lang/Math?min(II)I??
??chunk([B)I
preadLine9(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;)IChar array buffer?getMaxLineLength?[
:?
E`4com/groupbyinc/flux/common/http/util/CharArrayBuffer?:com/groupbyinc/flux/common/http/MessageConstraintException?"Maximum line length limit exceeded?(Ljava/lang/String;)V?
??isEmpty?Y
E?lineFromReadBuffer:(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;I)I??
?append([BII)V??
E?lineFromLineBuffer??
?i
currentLenpos
charbuffer6Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;
maxLineLenretryZbyteAt(I)I??
E?;(Lcom/groupbyinc/flux/common/http/util/ByteArrayBuffer;II)V??
??()[B?
E?java/nio/ByteBuffer?wrap([BII)Ljava/nio/ByteBuffer;??
??
appendDecodedN(Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;Ljava/nio/ByteBuffer;)I??
??
E?bbufLjava/nio/ByteBuffer;
??positionhasRemaining?Y
??	?java/nio/CharBuffer?allocate(I)Ljava/nio/CharBuffer;??
??reset#()Ljava/nio/charset/CharsetDecoder;??
<?decodeK(Ljava/nio/ByteBuffer;Ljava/nio/CharBuffer;Z)Ljava/nio/charset/CoderResult;??
<?handleDecodingResultl(Ljava/nio/charset/CoderResult;Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;Ljava/nio/ByteBuffer;)I??
?flush5(Ljava/nio/CharBuffer;)Ljava/nio/charset/CoderResult;??
<?()Ljava/nio/Buffer;??
??resultLjava/nio/charset/CoderResult;java/nio/charset/CoderResult?isError?Y
??throwException?
??flip??
??	remaining?[
?
??get()C
?(C)V?
?compact()Ljava/nio/CharBuffer;

?()Ljava/lang/String;
?G??
toString
?isDataAvailable(I)Ztimeout
getMetrics;()Lcom/groupbyinc/flux/common/http/io/HttpTransportMetrics;CodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFile!


;[*? +"?(W*?.W*+?0*??2*?4*?6*???>*???A?C*?EY?H?J*?L?>[MN[
[O[[[P2]^_`ab#c(d7eHfTgZhR?18:<?8:<M?8:<:QL
*+?S? 
MN


O
m	nTU>*+?W?MN
qrXYB
*?W???
MNu@Z[0*?2??MNz\[4
*?6*?4d?
MN][4
*?_*?ad?
MN?bc`*?Wg?l*?W+?q?*MNr
st
?	?eu[?a*?4?,*?6*?4d<?*?2*?4*?2?{*?4*?6*?6=*?2?d>**?2?}<??*`?6*?0????4taMNH?5,s=$t:????&?+?0?5?=?H?M?O?V?_??&?	?e?YF*?4*?6???MN?@?=*?4*?6?MN??
?o[v(*???*??<????*?2*Y?4Z`?43?~??(MN?????eocs?+??*???/*?6*?4d??6*?2*?4+?{*Y?4`?4?*?>?*+?}6?
*?0????*???*??6?????*?6*?4d??6*?2*?4+?{*Y?4`?4?R?Joi????MN?r
?s?tV???
??+?6?9?A?J?O?Y?\?c?i?o?q?t???????
2??eo?T+??*++????MNr
???e??F	+??(W*?C??=>6??6*?46*?6?*?23
?
6?	?????0*?J????*?6`*?4d6?
??Y??????*?J???*+???6`*?4d6*?J*?2*?4??*`?4?;*???'*?6*?4d6*?J*?2*?4??**?6?4*??>?6??%?*?J????*+???f
""?e??t?t??	MN	??????????"???????+?7?;?>?DHeku	{?
?????????????? "$/
??
?T??)*?e???e*?J??=?+*?Jd??
????*?Jd??
???*?L?+*?J???*?J????N*+-??=*?J???*U??eMNe??]t6
789:=">1?4C;DHFUG\IcJ	?e???Z>*?46*`?4?*?2d3
???d6*?L?+*?2?ҧ*?2??:*+??6?HN	??ZMNZ??Z?X?Rs+/t.OPRS"U%W+X2YA[N\W^?%?e??	j,?֚?*???
*?޵?*?L??W>,?֙ *?L,*????:*+,??`>???*?L*?ض?:*+,??`>*?ض?W?>:??jMNj??j??$FtU??:cd	fgi"j$k+l:mEnHoUp`qhr		?	#e????+???+??*?ض?W*?ض6*?ض?,*?ض?	???*?ض
W?4?MN?????????#t"yz|}~&4?<??e?y??Y@?L*+?=?+??? MN
????
????	??e9*???MN?e/*?0?MN?	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy