public class SwaggerUiResourceLocator extends Object
| Constructor and Description |
|---|
SwaggerUiResourceLocator(String swaggerUiRoot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(String resourcePath)
Checks the existence of the Swagger UI resource corresponding to resource path
|
URL |
locate(String resourcePath)
Locate Swagger UI resource corresponding to resource path
|
public SwaggerUiResourceLocator(String swaggerUiRoot)
public URL locate(String resourcePath) throws MalformedURLException
resourcePath - resource pathMalformedURLExceptionpublic boolean exists(String resourcePath)
resourcePath - resource pathApache CXF