@ApplicationPath(value="/")
@Path(value="v2/atlas/json")
public class JsonService
extends javax.ws.rs.core.Application
| Constructor and Description |
|---|
JsonService() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
cleanJsonData(String jsonData) |
javax.ws.rs.core.Response |
getClass(String uri,
String type) |
javax.ws.rs.core.Response |
inspectClass(io.atlasmap.json.v2.JsonInspectionRequest request) |
String |
simpleHelloWorld(String from) |
javax.ws.rs.core.Response |
testJsonOptions() |
protected boolean |
validJsonData(String jsonData) |
@GET @Path(value="/simple") @Produces(value="text/plain") public String simpleHelloWorld(@QueryParam(value="from") String from)
@OPTIONS
@Path(value="/inspect")
@Produces(value="application/json")
public javax.ws.rs.core.Response testJsonOptions()
throws Exception
Exception@GET
@Path(value="/inspect")
@Produces(value="application/json")
public javax.ws.rs.core.Response getClass(@QueryParam(value="uri")
String uri,
@QueryParam(value="type")
String type)
throws Exception
Exception@POST
@Consumes(value="application/json")
@Produces(value="application/json")
@Path(value="/inspect")
public javax.ws.rs.core.Response inspectClass(io.atlasmap.json.v2.JsonInspectionRequest request)
throws Exception
Exceptionprotected boolean validJsonData(String jsonData)
Copyright © 2018 JBoss by Red Hat. All rights reserved.