MCPcopy Create free account
hub / github.com/LeonNicholls/Caster / serveFile

Method serveFile

src/com/entertailion/java/caster/HttpServer.java:691–845  ·  view source on GitHub ↗

Serves file from homeDir and its' subdirectories (only). Uses only URI, ignores all headers and HTTP parameters.

(String uri, Properties header, File homeDir, boolean allowDirectoryListing)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

serveMethod · 0.95

Calls 3

addHeaderMethod · 0.95
encodeUriMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected