|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.tucana.DownloadService
public class DownloadService
Services requests to download files.
| Field Summary |
|---|
| Fields inherited from interface nextapp.echo.webcontainer.Service |
|---|
DO_NOT_CACHE |
| Method Summary | |
|---|---|
String |
createUri(UserInstance userInstance,
String downloadId)
Creates a URI from which to download the file. |
String |
getId()
Returns the service id. |
static DownloadService |
getInstance()
Returns an instance for public use. |
int |
getVersion()
Returns the service version. |
static void |
install()
Installs the service in the registry. |
void |
service(Connection conn)
Handles a service request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void install()
public String createUri(UserInstance userInstance,
String downloadId)
userInstance - the user instance of the user downloading.downloadId - the id of the download command.
public String getId()
getId in interface Servicepublic int getVersion()
getVersion in interface Service
public void service(Connection conn)
throws IOException
service in interface Serviceconn - the connection.
IOExceptionpublic static DownloadService getInstance()
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||