com.groupbyinc.flux.common.http.entity.SerializableEntity.class Maven / Gradle / Ivy
???? 2 ` 9com/groupbyinc/flux/common/http/entity/SerializableEntity 9com/groupbyinc/flux/common/http/entity/AbstractHttpEntity SerializableEntity.java objSer [B objRef Ljava/io/Serializable; (Ljava/io/Serializable;Z)V java/io/IOException ()V
Source object )com/groupbyinc/flux/common/http/util/Args notNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
createBytes (Ljava/io/Serializable;)V
java/io/Serializable this ;Lcom/groupbyinc/flux/common/http/entity/SerializableEntity; ser bufferize Z java/io/ByteArrayOutputStream &
' java/io/ObjectOutputStream ) (Ljava/io/OutputStream;)V
+
* , writeObject (Ljava/lang/Object;)V . /
* 0 flush 2
* 3 toByteArray ()[B 5 6
' 7 9 baos Ljava/io/ByteArrayOutputStream; out Ljava/io/ObjectOutputStream;
getContent ()Ljava/io/InputStream; java/lang/IllegalStateException A java/io/ByteArrayInputStream C ([B)V
E
D F getContentLength ()J???????? isRepeatable ()Z isStreaming writeTo
Output stream P java/io/OutputStream R write T E
S U
S 3 outstream Ljava/io/OutputStream; Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile !
Z ? *? +? W? *+? ? *+? ? [ ! " # $ % \ ? @ A B D F ] ? ^
Z Q *? +? W*+? ? [ ! " # \ L M N O Z #? 'Y? (M? *Y,? -N-+? 1-? 4*,? 8? :? [ * # ! " # # ; <