/** * Handles all read-only namespace oriented administration requests. */ @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException { if (req.getRequestURI().endsWith("/namespace")) { // Describe all namespaces. doDescribeNamespaces(req, resp); return; } else if (req.getRequestURI().endsWith("/properties")) { // Show properties. doShowProperties(req, resp); return; } // Pass through to the SPARQL end point REST API. m_restServlet.doGet(req, resp); return; }
/** * Handles all read-only namespace oriented administration requests. */ @Override protected void doGet(final HttpServletRequest req, final HttpServletResponse resp) throws IOException { if (req.getRequestURI().endsWith("/namespace")) { // Describe all namespaces. doDescribeNamespaces(req, resp); return; } else if (req.getRequestURI().endsWith("/properties")) { // Show properties. doShowProperties(req, resp); return; } // Pass through to the SPARQL end point REST API. m_restServlet.doGet(req, resp); return; }