public static interface ResourceHandler.Resource
Modifier and Type | Method and Description |
---|---|
InputStream |
read()
Returns the
InputStream stream of the resource, if exists, null otherwise. |
InputStream read() throws IOException
InputStream
stream of the resource, if exists, null
otherwise. The stream should
be closed by caller, otherwise resource leaks might be introduced.IOException
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.