public class InputStreamResource extends AbstractResource
| Constructor and Description |
|---|
InputStreamResource(String path,
InputStream is)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
This method returns an input stream containing the
resource content.
|
getPathpublic InputStreamResource(String path, InputStream is)
path - The optional resource pathis - The input streampublic InputStream getInputStream()
Copyright © 2014. All Rights Reserved.