ResourceSupplier
public class DefaultResourceSupplier extends Object implements ResourceSupplier
Constructor | Description |
---|---|
DefaultResourceSupplier(ResourceManager resourceManager) |
Modifier and Type | Method | 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 © 2018. All rights reserved.