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

Method get

basex-api/src/test/java/org/basex/http/HTTPTest.java:83–86  ·  view source on GitHub ↗

Executes the specified GET request and returns the result. @param expected expected result @param path path of request @param params query parameters (keys and values) @throws IOException I/O exception

(final String expected, final String path, final Object... params)

Source from the content-addressed store, hash-verified

81 * @throws IOException I/O exception
82 */
83 protected static void get(final String expected, final String path, final Object... params)
84 throws IOException {
85 assertEquals(expected, get(200, path, params));
86 }
87
88 /**
89 * Executes the specified GET request and returns the result.

Callers

nothing calls this directly

Calls 3

sendMethod · 0.95
assertEqualsMethod · 0.80
nameMethod · 0.65

Tested by

no test coverage detected