public class DefaultResourceSupplier extends Object implements ResourceSupplier
Constructor and Description |
---|
DefaultResourceSupplier(ResourceManager resourceManager) |
Modifier and Type | Method and Description |
---|---|
Resource | getResource(HttpServerExchange exchange, String path) |
public DefaultResourceSupplier(ResourceManager resourceManager)
public Resource getResource(HttpServerExchange exchange, String path) throws IOException
getResource
in interface ResourceSupplier
exchange
- The current exchangepath
- The path to resolveIOException
- if an error ocured resolving the resourceCopyright © 2020 JBoss by Red Hat. All rights reserved.