@Provider
@Path(value="/workspaces/{workspace}")
public class ImportController
extends Object
| Constructor and Description |
|---|
ImportController() |
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Response |
getFeatureTypes(javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx,
String workspace)
Deprecated.
|
static javax.ws.rs.core.Response |
getImportUI(String workspace) |
static javax.ws.rs.core.Response |
importFile(javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx,
String workspace,
String layerTitle,
String optColumnTypes,
String fileName,
String usedCSVDelimiter,
String remoteCSVUrl,
String decimalSep,
String thousandsSep,
String optLongitudeName,
String optLatitudeName,
String approvedString,
String keepRowColumnName,
String keepRowColumnValue) |
static javax.ws.rs.core.Response |
upload() |
@POST @Path(value="/upload") public static javax.ws.rs.core.Response upload()
@POST
@Path(value="/import")
@Consumes(value="application/x-www-form-urlencoded")
public static javax.ws.rs.core.Response importFile(@Context
javax.ws.rs.core.SecurityContext sec,
@Context
javax.servlet.ServletContext ctx,
@PathParam(value="workspace")
String workspace,
@FormParam(value="layertitle")
String layerTitle,
@FormParam(value="columntypes")
String optColumnTypes,
@FormParam(value="filename")
String fileName,
@FormParam(value="csvdelimiter")
String usedCSVDelimiter,
@FormParam(value="remotecsvurl")
String remoteCSVUrl,
@FormParam(value="decimalsep")
String decimalSep,
@FormParam(value="thousandssep")
String thousandsSep,
@FormParam(value="lonname")
String optLongitudeName,
@FormParam(value="latname")
String optLatitudeName,
@FormParam(value="approved")
String approvedString,
@FormParam(value="keepRowColumnName")
String keepRowColumnName,
@FormParam(value="keepRowColumnValue")
String keepRowColumnValue)
throws Exception
Exception@GET
@Path(value="/import/ui")
public static javax.ws.rs.core.Response getImportUI(@PathParam(value="workspace")
String workspace)
@Deprecated @GET @Produces(value="application/json") @Path(value="/featuretypes") public static javax.ws.rs.core.Response getFeatureTypes(@Context javax.ws.rs.core.SecurityContext sec, @Context javax.servlet.ServletContext ctx, @PathParam(value="workspace") String workspace) throws Exception
ExceptionCopyright © 2020. All rights reserved.