class RUploadHandler extends UploadHandlerSupport {

  @Override
  public UploadDefinition getDefinition() {
    if (definition == null) {
      List<UploadFieldDefinition> assetField = Arrays.asList(
          new UploadFieldDefinition(PATH_ID, PACKAGE_PATH_DISPLAY, null, false, Type.STRING, null));
      definition = getDefinition(RFormat.NAME, false, Collections.emptyList(), assetField, null);
    }
    return definition;
  }

  @Inject public  RUploadHandler(@Named("simple") final VariableResolverAdapter variableResolverAdapter,
                        final ContentPermissionChecker contentPermissionChecker,
                        final Set<UploadDefinitionExtension> uploadDefinitionExtensions);

}