this is used to signal to the producer that all content has been written and the user no longer needs to write . this will close the underlying transport which tells the client that all of the content has been sent over the connection . concode_field_sep BodyObserver observer concode_elem_sep ByteWriter writer concode_field_sep void encode concode_elem_sep void encode concode_elem_sep void encode concode_elem_sep void encode concode_elem_sep void flush
void function ( ) { try { if ( ! observer . isClosed ( ) ) { observer . close ( writer ) ; writer . close ( ) ; } } catch ( Exception loc0 ) { if ( writer != null ) { observer . error ( writer ) ; } throw new BodyEncoderException ( "srini_string" , loc0 ) ; } }