Class VfsSchemeResourceFinderFactory.VfsResourceFinder
java.lang.Object
org.glassfish.jersey.server.internal.AbstractResourceFinderAdapter
org.glassfish.jersey.server.internal.scanning.VfsSchemeResourceFinderFactory.VfsResourceFinder
- All Implemented Interfaces:
AutoCloseable
,Iterator<String>
,ResourceFinder
- Enclosing class:
- VfsSchemeResourceFinderFactory
private static class VfsSchemeResourceFinderFactory.VfsResourceFinder
extends AbstractResourceFinderAdapter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
advance()
private Object
bindDirectory
(URI uri) private Method
bindMethod
(Object object, String name) private Method
bindMethod0
(Object object, String name) private Iterator<?>
getChildren
(Object directory, boolean recursive) boolean
hasNext()
private <T> T
next()
open()
Open current resource.void
reset()
Reset theResourceFinder
instance.Methods inherited from class org.glassfish.jersey.server.internal.AbstractResourceFinderAdapter
close, remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
current
-
next
-
openStream
-
getName
-
isLeaf
-
iterator
-
-
Constructor Details
-
VfsResourceFinder
-
-
Method Details
-
getChildren
-
bindMethod
-
invoke
-
bindMethod0
-
bindDirectory
-
open
Description copied from interface:ResourceFinder
Open current resource.- Returns:
- input stream from which current resource can be loaded.
-
reset
public void reset()Description copied from interface:ResourceFinder
Reset theResourceFinder
instance. Upon calling this method the implementing class MUST reset its internal state to the initial state. -
advance
public boolean advance() -
hasNext
public boolean hasNext() -
next
-