@ApplicationPath(value="/")
@Path(value="v2/atlas/java")
public class JavaService
extends javax.ws.rs.core.Application
| Constructor and Description |
|---|
JavaService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureInspectionService(com.mediadriver.atlas.java.inspect.v2.ClassInspectionService classInspectionService,
com.mediadriver.atlas.java.v2.ClassInspectionRequest request) |
javax.ws.rs.core.Response |
generateClasspath(com.mediadriver.atlas.java.v2.MavenClasspathRequest request) |
javax.ws.rs.core.Response |
generateClasspathCORS() |
javax.ws.rs.core.Response |
getClass(String className) |
javax.ws.rs.core.Response |
inspectClass(com.mediadriver.atlas.java.v2.ClassInspectionRequest request) |
String |
simpleHelloWorld(String from) |
javax.ws.rs.core.Response |
testJsonOptions() |
@GET @Path(value="/simple") @Produces(value="text/plain") public String simpleHelloWorld(@QueryParam(value="from") String from)
@OPTIONS
@Path(value="/class")
@Produces(value="application/json")
public javax.ws.rs.core.Response testJsonOptions()
throws Exception
Exception@GET
@Path(value="/class")
@Produces(value="application/json")
public javax.ws.rs.core.Response getClass(@QueryParam(value="className")
String className)
throws Exception
Exception@OPTIONS
@Path(value="/mavenclasspath")
@Produces(value="application/json")
public javax.ws.rs.core.Response generateClasspathCORS()
throws Exception
Exception@POST
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/mavenclasspath")
public javax.ws.rs.core.Response generateClasspath(com.mediadriver.atlas.java.v2.MavenClasspathRequest request)
throws Exception
Exception@POST
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/class")
public javax.ws.rs.core.Response inspectClass(com.mediadriver.atlas.java.v2.ClassInspectionRequest request)
throws Exception
Exceptionprotected void configureInspectionService(com.mediadriver.atlas.java.inspect.v2.ClassInspectionService classInspectionService,
com.mediadriver.atlas.java.v2.ClassInspectionRequest request)
Copyright © 2017. All rights reserved.