@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 |
importFile(javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx,
String workspace,
String fileName,
String layerName,
String optColumnTypes) |
static void |
importFile0(javax.ws.rs.core.SecurityContext sec,
javax.servlet.ServletContext ctx,
String workspace,
String fileName,
String layerName,
String optColumnTypes) |
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="filename")
String fileName,
@FormParam(value="layername")
String layerName,
@FormParam(value="columntypes")
String optColumnTypes)
throws Exception
Exception@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.