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

Method inputStream

basex-core/src/main/java/org/basex/io/IOUrl.java:124–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 @Override
125 public InputStream inputStream() throws IOException {
126 return isJarURL(pth) ? new URL(pth).openStream() : response().body();
127 }
128
129 /**
130 * Returns an HTTP response.

Callers

nothing calls this directly

Calls 3

isJarURLMethod · 0.95
responseMethod · 0.95
bodyMethod · 0.45

Tested by

no test coverage detected