public String processForm( Map<String, String> parameters, Map<String, FileItem> files ) throws BadRequestException, NotAuthorizedException {
try {
CollectionResource col = wrapped.createCollection( parameters.get( "name" ) );
if( eventManager != null ) {
eventManager.fireEvent( new NewFolderEvent( col ) );
}
return null;
} catch( ConflictException ex ) {
throw new BadRequestException( wrapped, "A conflict occured. The folder might already exist" );
}