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

Method head

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

Executes the specified HEAD request and returns the result. @param status status code to check @param path path of request @param params query parameters (keys and values) @return string result, or null for a failure @throws IOException I/O exception

(final int status, final String path, final Object... params)

Source from the content-addressed store, hash-verified

120 * @throws IOException I/O exception
121 */
122 protected static String head(final int status, final String path, final Object... params)
123 throws IOException {
124 return send(status, HEAD.name(), null, null, path, params);
125 }
126
127 /**
128 * Executes the specified OPTIONS request and returns the result.

Callers

nothing calls this directly

Calls 2

sendMethod · 0.95
nameMethod · 0.65

Tested by

no test coverage detected