@ApplicationPath(value="/")
@Path(value="v2/atlas/xml")
public class XmlService
extends javax.ws.rs.core.Application
Constructor and Description |
---|
XmlService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getClass(String uri,
String type) |
javax.ws.rs.core.Response |
inspectClass(io.atlasmap.xml.v2.XmlInspectionRequest 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="/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
Copyright © 2018 JBoss by Red Hat. All rights reserved.