@Path(value="/algorithm") public class Generic extends Object
Constructor and Description |
---|
Generic(javax.servlet.ServletConfig servletContext) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
algorithmGenericGet(String classifierName,
String subjectid,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.SecurityContext securityContext)
generic REST interface to WEKA algorithms get options description
|
javax.ws.rs.core.Response |
algorithmGenericPost(InputStream fileInputStream,
org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail,
String datasetUri,
String classifierString,
String paramString,
String validation,
Double validationNum,
String subjectid,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.HttpHeaders headers,
javax.ws.rs.core.SecurityContext securityContext)
generic REST interface to WEKA algorithms
|
@POST @Path(value="/generic") @Consumes(value="multipart/form-data") @Produces(value={"text/uri-list","application/json"}) public javax.ws.rs.core.Response algorithmGenericPost(InputStream fileInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String datasetUri, String classifierString, String paramString, String validation, Double validationNum, @HeaderParam(value="subjectid") String subjectid, @Context javax.ws.rs.core.UriInfo ui, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.SecurityContext securityContext) throws NotFoundException, IOException
NotFoundException
IOException
@GET @Path(value="/generic") @Produces(value="text/plain") public javax.ws.rs.core.Response algorithmGenericGet(@QueryParam(value="classifierName") String classifierName, @HeaderParam(value="subjectid") String subjectid, @Context javax.ws.rs.core.UriInfo ui, @Context javax.ws.rs.core.HttpHeaders headers, @Context javax.ws.rs.core.SecurityContext securityContext) throws NotFoundException, IOException
NotFoundException
IOException
Copyright © 2018. All rights reserved.