1 /*******************************************************************************
2 * Copyright (c) 2011, 2012 EclipseSource and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * EclipseSource - initial API and implementation
10 ******************************************************************************/
11 package org
.eclipse
.rap
.fileupload
;
14 * A file upload handler is used to accept file uploads from a client. After
15 * creating a file upload handler, the server will accept file uploads to the
16 * URL returned by <code>getUploadUrl()</code>. Upload listeners can be attached
17 * to react on progress. When the upload has finished, a FileUploadHandler has
18 * to be disposed of by calling its <code>dispose()</code> method.
20 * @noextend This class is not intended to be subclassed by clients.
22 public class FileUploadHandler
{
24 public FileUploadHandler(FileUploadReceiver fileUploadReceiver
) {
27 public void dispose() {
31 public void addUploadListener(FileUploadListener listener
) {
35 public String
getUploadUrl() {