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