MCPcopy Create free account
hub / github.com/BaseXdb/basex / wadl

Method wadl

basex-api/src/main/java/org/basex/http/web/WebModules.java:96–102  ·  view source on GitHub ↗

Returns a WADL description for all available URIs. @param request HTTP request @param ctx database context @return WADL description @throws QueryException query exception

(final HttpServletRequest request, final Context ctx)

Source from the content-addressed store, hash-verified

94 * @throws QueryException query exception
95 */
96 public FNode wadl(final HttpServletRequest request, final Context ctx) throws QueryException {
97 try {
98 return new RestXqWadl(request).create(cache(ctx));
99 } catch(final IOException ex) {
100 throw new QueryException(ex);
101 }
102 }
103
104 /**
105 * Returns a RESTXQ function that matches the current request or the specified error code best.

Callers 1

itemMethod · 0.80

Calls 2

cacheMethod · 0.95
createMethod · 0.45

Tested by

no test coverage detected