Class RequestFactoryJarExtractor.ClassLoaderLoader
java.lang.Object
com.google.web.bindery.requestfactory.server.jakarta.RequestFactoryJarExtractor.ClassLoaderLoader
- All Implemented Interfaces:
RequestFactoryJarExtractor.Loader
- Enclosing class:
RequestFactoryJarExtractor
public static class RequestFactoryJarExtractor.ClassLoaderLoader
extends Object
implements RequestFactoryJarExtractor.Loader
An implementation of
RequestFactoryJarExtractor.Loader
that uses a ClassLoader
to
retrieve the class files.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the specified resource can be loaded.getResourceAsStream
(String resource) Returns an InputStream to access the specified resource, ornull
if no such resource exists.
-
Constructor Details
-
ClassLoaderLoader
-
-
Method Details
-
exists
Description copied from interface:RequestFactoryJarExtractor.Loader
Returns true if the specified resource can be loaded.- Specified by:
exists
in interfaceRequestFactoryJarExtractor.Loader
- Parameters:
resource
- a resource name (e.g.com/example/Foo.class
)
-
getResourceAsStream
Description copied from interface:RequestFactoryJarExtractor.Loader
Returns an InputStream to access the specified resource, ornull
if no such resource exists.- Specified by:
getResourceAsStream
in interfaceRequestFactoryJarExtractor.Loader
- Parameters:
resource
- a resource name (e.g.com/example/Foo.class
)
-