Package org.spincast.plugins.undertow
Class SpincastFileSystemFileResourceManager
java.lang.Object
io.undertow.server.handlers.resource.PathResourceManager
io.undertow.server.handlers.resource.FileResourceManager
org.spincast.plugins.undertow.SpincastFileSystemFileResourceManager
- All Implemented Interfaces:
io.undertow.server.handlers.resource.ResourceManager
,Closeable
,AutoCloseable
public class SpincastFileSystemFileResourceManager
extends io.undertow.server.handlers.resource.FileResourceManager
Manager to get a specific File.
The file may not exist yet.
Doesn't check if the file changes or not.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.undertow.server.handlers.resource.PathResourceManager
io.undertow.server.handlers.resource.PathResourceManager.Builder, io.undertow.server.handlers.resource.PathResourceManager.ETagFunction
-
Field Summary
Fields inherited from class io.undertow.server.handlers.resource.PathResourceManager
base, fileSystem
Fields inherited from interface io.undertow.server.handlers.resource.ResourceManager
EMPTY_RESOURCE_MANAGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected File
getFile()
io.undertow.server.handlers.resource.Resource
getResource
(String path) Methods inherited from class io.undertow.server.handlers.resource.FileResourceManager
getBase, setBase
Methods inherited from class io.undertow.server.handlers.resource.PathResourceManager
builder, close, getBasePath, getFileResource, getTransferMinSize, isResourceChangeListenerSupported, registerResourceChangeListener, removeResourceChangeListener, setBase
-
Constructor Details
-
SpincastFileSystemFileResourceManager
-
SpincastFileSystemFileResourceManager
-
-
Method Details
-
getFile
-
getResource
- Specified by:
getResource
in interfaceio.undertow.server.handlers.resource.ResourceManager
- Overrides:
getResource
in classio.undertow.server.handlers.resource.PathResourceManager
-