public class HttpNut extends AbstractNut
A Nut
implementation for HTTP accesses.
Constructor and Description |
---|
HttpNut(String name,
URL url,
NutType nutType,
Future<Long> version)
Builds a new instance.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
openStream()
Opens and returns an
InputStream pointing to the nut. |
equals, getInitialName, getInitialNutType, getParentFile, getProxyUri, getVersionNumber, hashCode, isDynamic, setProxyUri, setVersionNumber, toString
public InputStream openStream() throws IOException
Opens and returns an InputStream
pointing to the nut.
IOException
- if an I/O error occursCopyright © 2012-2015. All Rights Reserved.