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
-
Field Summary
FieldsFields inherited from interface io.undertow.server.handlers.resource.ResourceManager
EMPTY_RESOURCE_MANAGER -
Constructor Summary
ConstructorsConstructorDescriptionKnownPathResourceManager(Set<String> files, Set<String> directories, io.undertow.server.handlers.resource.ResourceManager underlying) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()io.undertow.server.handlers.resource.ResourcegetResource(String path)
-
Field Details
-
IS_WINDOWS
public static final boolean IS_WINDOWS
-
-
Constructor Details
-
KnownPathResourceManager
-
-
Method Details
-
getResource
- Specified by:
getResourcein interfaceio.undertow.server.handlers.resource.ResourceManager- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-