Code example for HttpEntity

Methods: writeTo

0
        Args.notNull(entity, "HTTP entity"); 
        final OutputStream outstream = doSerialize(outbuffer, message); 
        entity.writeTo(outstream); 
        outstream.close(); 
    } 
 
}