public <R> R download(String uri,
			ContentHandler<BasicHttpResponse, R> handler)
			throws RedmineException {
		final URI requestUri = configurator.addAPIKey(uri);
		final HttpGet request = new HttpGet(requestUri);
        if (onBehalfOfUser != null) {
            request.addHeader("X-Redmine-Switch-User", onBehalfOfUser);
        }
        return errorCheckingCommunicator.sendRequest(request, handler);
    }
public < R > R download ( String uri , ContentHandler < BasicHttpResponse , R > handler ) throws RedmineException { final URI requestUri = configurator . addAPIKey ( uri ) ; final HttpGet request = new HttpGet ( requestUri ) ; if ( onBehalfOfUser != null ) { request . addHeader ( "X-Redmine-Switch-User" , onBehalfOfUser ) ; } return errorCheckingCommunicator . sendRequest ( request , handler ) ; }
Downloads redmine content.

@param uri
target uri.
@param handler
content handler.
@return handler result.
@throws RedmineException
if something goes wrong.