Header [ ] function ( final SessionInputBuffer arg0 , int arg1 , int arg2 , LineParser arg3 ) { if ( arg3 == null ) { arg3 = BasicLineParser . DEFAULT ; } List loc0 = new ArrayList ( ) ; return parseHeaders ( arg0 , arg1 , arg2 , arg3 , loc0 ) ; }
parses http headers from the data receiver stream according to the generic format as given in section 3.1 of rfc 822 , rfc-2616 section 4 and 19.3 . concode_field_sep int HEAD_LINE concode_elem_sep int maxHeaderCount concode_elem_sep List headerLines concode_elem_sep LineParser lineParser concode_elem_sep SessionInputBuffer sessionBuffer concode_elem_sep int HEADERS concode_elem_sep int state concode_elem_sep HttpMessage message concode_elem_sep int maxLineLen concode_field_sep HttpMessage parseHead concode_elem_sep HttpMessage parse