question: private HttpEntity paramsToEntity ( RequestParams params , ResponseHandlerInterface responseHandler ) { HttpEntity entity = null ; try { if ( params != null ) { entity = params . getEntity ( responseHandler ) ; } } catch ( Throwable t ) { if ( responseHandler != null ) responseHandler . sendFailureMessage ( 0 , null , null , t ) ; else t . printStackTrace ( ) ; } return entity ; }
target:  Returns HttpEntity containing data from RequestParams included with request declaration. Allows also passing progress from upload via provided ResponseHandler