protected < T extends DavidBoxResponse > T execute ( DavidBoxOperation operation , Class < T > responseTargetClass ) throws TheDavidBoxClientException { //Build the additional http arguments for the operation if there is additioanl http parameters LinkedHashMap < String , String > operationArguments = operation . buildHttpArguments ( ) ; // Build the get request with the arguments String urlGet = remoteHttpService . buildGetRequest ( remoteHost , operation . getOperationType ( ) , operationArguments ) ; T responseObject = sendAndParse ( urlGet , responseTargetClass ) ; return responseObject ; }
It executes a davidbox operation . Builds the http get request sends receive and fit the response in the response target object