public void setBodyHttpDatas ( List < InterfaceHttpData > datas ) throws ErrorDataEncoderException { if ( datas == null ) { throw new NullPointerException ( "datas" ) ; } globalBodySize = 0 ; bodyListDatas . clear ( ) ; currentFileUpload = null ; duringMixedMode = false ; multipartHttpDatas . clear ( ) ; for ( InterfaceHttpData data : datas ) { addBodyHttpData ( data ) ; } }
Set the Body HttpDatas list