Package com.vaadin.quarkus
Class QuarkusResourceProvider
- java.lang.Object
-
- com.vaadin.quarkus.QuarkusResourceProvider
-
- All Implemented Interfaces:
com.vaadin.flow.di.ResourceProvider
public class QuarkusResourceProvider extends Object implements com.vaadin.flow.di.ResourceProvider
AResourceProviderimplementation that delegates resource loading to current thread context ClassLoader.
-
-
Constructor Summary
Constructors Constructor Description QuarkusResourceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLgetApplicationResource(String path)List<URL>getApplicationResources(String path)URLgetClientResource(String path)InputStreamgetClientResourceAsStream(String path)
-
-
-
Method Detail
-
getApplicationResource
public URL getApplicationResource(String path)
- Specified by:
getApplicationResourcein interfacecom.vaadin.flow.di.ResourceProvider
-
getApplicationResources
public List<URL> getApplicationResources(String path) throws IOException
- Specified by:
getApplicationResourcesin interfacecom.vaadin.flow.di.ResourceProvider- Throws:
IOException
-
getClientResource
public URL getClientResource(String path)
- Specified by:
getClientResourcein interfacecom.vaadin.flow.di.ResourceProvider
-
getClientResourceAsStream
public InputStream getClientResourceAsStream(String path) throws IOException
- Specified by:
getClientResourceAsStreamin interfacecom.vaadin.flow.di.ResourceProvider- Throws:
IOException
-
-