void function ( byte [ ] arg0 , int arg1 , int arg2 ) { ByteBuffer loc0 = ByteBuffer . wrap ( arg0 , arg1 , arg2 ) ; if ( arg2 > 0 ) { encode ( loc0 ) ; } }
this method is used to encode the provided array of bytes in a http/1 .1 complaint format and sent it to the client . once the data has been encoded it is handed to the transport layer within the server , which may choose to buffer the data if the content is too small to send efficiently or if the socket is not write ready . concode_field_sep byte[] zero concode_elem_sep BodyObserver observer concode_elem_sep byte[] size concode_elem_sep ByteWriter writer concode_elem_sep byte[] index concode_field_sep void flush concode_elem_sep void finish concode_elem_sep void close