Class TestMapResources
java.lang.Object
com.occamlab.te.spi.jaxrs.resources.wmsclient.TestMapResources
Supports testing of WMS 1.3 client implementations.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TestMapResources
public TestMapResources()
-
-
Method Details
-
handleGet
@GET public String handleGet(@QueryParam("userID") String userId, @QueryParam("sessionID") String sessionID, @QueryParam("modifiedTime") String modifiedTime) throws IOException, org.json.JSONException, ParserConfigurationException, SAXException Processes a request submitted using the GET method. The test run arguments are specified in the query component of the Request-URI as a sequence of key-value pairs.- Parameters:
userId-sessionID-- Returns:
- Throws:
IOExceptionorg.json.JSONExceptionParserConfigurationExceptionSAXException
-
handlepost
@POST @Consumes("text/plain") public void handlepost(@QueryParam("userID") String userId, @QueryParam("sessionID") String sessionID, String data) throws ParserConfigurationException, TransformerException, TransformerConfigurationException, FileNotFoundException, IOException Processes a request submitted using the POST method. The test run arguments are specified in the query component of the Request-URI as a sequence of key-value pairs.- Parameters:
userId-sessionID-data-- Throws:
IOExceptionTransformerExceptionTransformerConfigurationExceptionFileNotFoundExceptionParserConfigurationException
-