Package io.quarkus.undertow.runtime
Class KnownPathResourceManager
- java.lang.Object
-
- io.quarkus.undertow.runtime.KnownPathResourceManager
-
- All Implemented Interfaces:
io.undertow.server.handlers.resource.ResourceManager,Closeable,AutoCloseable
public class KnownPathResourceManager extends Object implements io.undertow.server.handlers.resource.ResourceManager
-
-
Constructor Summary
Constructors Constructor Description KnownPathResourceManager(Set<String> files, Set<String> directories, io.undertow.server.handlers.resource.ResourceManager underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()io.undertow.server.handlers.resource.ResourcegetResource(String path)
-
-
-
Method Detail
-
getResource
public io.undertow.server.handlers.resource.Resource getResource(String path) throws IOException
- Specified by:
getResourcein interfaceio.undertow.server.handlers.resource.ResourceManager- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-