private void routedUpload(RESTRequest request, RESTResponse response) {
        String filePath = RESTHelper.getRequiredParam(request, APIConstants.PARAM_FILEPATH);
        String expand = RESTHelper.getQueryParam(request, APIConstants.PARAM_EXPAND_ON_COMPLETION);
        final boolean expansion = expand != null && "true".compareToIgnoreCase(expand) == 0;

        //Get the helper
        final FileTransferHelper helper = getFileTransferHelper();
        helper.routedUploadInternal(request, filePath, expansion, true);

        response.setStatus(APIConstants.STATUS_NO_CONTENT);
    }
private void routedUpload ( RESTRequest request , RESTResponse response ) { String filePath = RESTHelper . getRequiredParam ( request , APIConstants . PARAM_FILEPATH ) ; String expand = RESTHelper . getQueryParam ( request , APIConstants . PARAM_EXPAND_ON_COMPLETION ) ; final boolean expansion = expand != null && "true" . compareToIgnoreCase ( expand ) == 0 ; final FileTransferHelper helper = getFileTransferHelper ( ) ; helper . routedUploadInternal ( request , filePath , expansion , true ) ; response . setStatus ( APIConstants . STATUS_NO_CONTENT ) ; }
@Legacy