public class KnownPathResourceManager extends Object implements io.undertow.server.handlers.resource.ResourceManager
| Constructor and Description |
|---|
KnownPathResourceManager(Set<String> files,
Set<String> directories,
io.undertow.server.handlers.resource.ResourceManager underlying) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.undertow.server.handlers.resource.Resource |
getResource(String path) |
public io.undertow.server.handlers.resource.Resource getResource(String path) throws IOException
getResource in interface io.undertow.server.handlers.resource.ResourceManagerIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.