public Request < T > build ( ) { MultiMap headers = resolveHeaders ( ) ; MultiMap parameters = resolveParameters ( ) ; parameters . add ( "version" , Integer . toString ( version ) ) ; Request < T > request = new Request < T > ( ) ; request . setEntityName ( entityName ) ; request . setEntityType ( objectType ) ; request . setHeaders ( headers ) ; request . setParameters ( parameters ) ; return request ; }
Build the request