@Path("/")
public class ShareApi
extends RestHelper
| Constructor | Description |
|---|---|
ShareApi() |
| Modifier and Type | Method | Description |
|---|---|---|
javax.ws.rs.core.Response |
downloadRemoteArchive(String userPath,
javax.servlet.http.HttpServletRequest requestContext,
String remoteUrl,
String archiveName,
String remoteType) |
|
javax.ws.rs.core.Response |
importRemoteArchive(String userPath,
String userJson,
ImportRequest request,
javax.servlet.http.HttpServletRequest requestContext) |
|
javax.ws.rs.core.Response |
setUserPath(String oldUserPath,
String userPath,
String historyCookie,
javax.servlet.http.HttpServletRequest requestContext) |
|
javax.ws.rs.core.Response |
setWorkspaceHistory(String oldUserPath,
String historyListString,
String historyCookie,
javax.servlet.http.HttpServletRequest requestContext) |
|
javax.ws.rs.core.Response |
uploadArchive(String userPath,
String userJson,
javax.servlet.http.HttpServletRequest requestContext,
String serializedRequest,
org.glassfish.jersey.media.multipart.FormDataBodyPart archiveFile,
List<org.glassfish.jersey.media.multipart.FormDataBodyPart> additionalFiles) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildErrorResponse, buildResponse, buildTextErrorResponse@GET
@Path("/share/{user_path}")
@Produces("text/plain")
public javax.ws.rs.core.Response setUserPath(@CookieParam("combinearchiveweba")
String oldUserPath,
@PathParam("user_path")
String userPath,
@CookieParam("combinearchivewebhist")
String historyCookie,
@Context
javax.servlet.http.HttpServletRequest requestContext)
@GET
@Path("/history/{history}")
@Produces("text/plain")
public javax.ws.rs.core.Response setWorkspaceHistory(@CookieParam("combinearchiveweba")
String oldUserPath,
@PathParam("history")
String historyListString,
@CookieParam("combinearchivewebhist")
String historyCookie,
@Context
javax.servlet.http.HttpServletRequest requestContext)
@GET
@Path("/import")
@Produces("text/plain")
public javax.ws.rs.core.Response downloadRemoteArchive(@CookieParam("combinearchiveweba")
String userPath,
@Context
javax.servlet.http.HttpServletRequest requestContext,
@DefaultValue("http") @QueryParam("remote")
String remoteUrl,
@QueryParam("name")
String archiveName,
@QueryParam("type")
String remoteType)
@POST
@Path("/import")
@Produces("text/plain")
@Consumes("application/json")
public javax.ws.rs.core.Response importRemoteArchive(@CookieParam("combinearchiveweba")
String userPath,
@CookieParam("combinearchivewebuser")
String userJson,
ImportRequest request,
@Context
javax.servlet.http.HttpServletRequest requestContext)
@POST
@Path("/import")
@Produces("text/plain")
@Consumes("multipart/form-data")
public javax.ws.rs.core.Response uploadArchive(@CookieParam("combinearchiveweba")
String userPath,
@CookieParam("combinearchivewebuser")
String userJson,
@Context
javax.servlet.http.HttpServletRequest requestContext,
String serializedRequest,
org.glassfish.jersey.media.multipart.FormDataBodyPart archiveFile,
List<org.glassfish.jersey.media.multipart.FormDataBodyPart> additionalFiles)
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.