Eclipse Remote Application Platform

org.eclipse.rap.rwt.client.service
Interface ClientFileUploader

All Superinterfaces:
ClientService, java.io.Serializable

public interface ClientFileUploader
extends ClientService

The ClientFileUploader service allows uploading client-side files to the server.

Since:
2.3

Method Summary
 void submit(java.lang.String url, ClientFile[] clientFiles)
          Starts to upload the provided ClientFile to the given URL using HTTP POST.
 

Method Detail

submit

void submit(java.lang.String url,
            ClientFile[] clientFiles)
Starts to upload the provided ClientFile to the given URL using HTTP POST. If no files are provided, nothing happens.

Parameters:
url - the URL to upload to, must not be null or empty
clientFiles - client-side files, must not be null
See Also:
ClientFileTransfer

Eclipse Remote Application Platform

Copyright (c) EclipseSource and others 2002, 2013. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0