void function ( long arg0 ) { long loc0 = support . getContentLength ( ) ; if ( support . isHead ( ) ) { if ( arg0 > 0 ) { configure ( arg0 , arg0 ) ; } else { configure ( arg0 , loc0 ) ; } } else { configure ( arg0 , arg0 ) ; } }
this method is used to set the required http headers on the response . this will check the existing http headers , and if there is insufficient data chunked encoding will be used for http/1 .1 and connection close will be used for http/1 .0 . concode_field_sep BodyEncoderFactory factory concode_elem_sep Trace trace concode_elem_sep Response response concode_elem_sep Conversation support concode_elem_sep BodyEncoder encoder concode_field_sep void flush concode_elem_sep void start concode_elem_sep void start concode_elem_sep void clear concode_elem_sep void commit concode_elem_sep boolean isStarted concode_elem_sep void write concode_elem_sep void write concode_elem_sep void write concode_elem_sep void write concode_elem_sep void close