Class DefaultResourceSupplier
java.lang.Object
io.undertow.server.handlers.resource.DefaultResourceSupplier
- All Implemented Interfaces:
ResourceSupplier
A resource supplier that just delegates directly to a resource manager
- Author:
- Stuart Douglas
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultResourceSupplier
-
-
Method Details
-
getResource
- Specified by:
getResource
in interfaceResourceSupplier
- Parameters:
exchange
- The current exchangepath
- The path to resolve- Returns:
- A resource to serve
- Throws:
IOException
- if an error ocured resolving the resource
-