Class URLPayload
- java.lang.Object
-
- org.openstack4j.model.common.payloads.URLPayload
-
-
Constructor Summary
Constructors Constructor Description URLPayload(URL url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcloseQuietly()Closes the stream and releases state.URLgetRaw()Gets the raw underlying object for the Payload.InputStreamopen()Opens and returns the input stream.
-
-
-
Constructor Detail
-
URLPayload
public URLPayload(URL url)
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
open
public InputStream open()
Opens and returns the input stream.
-
closeQuietly
public void closeQuietly()
Closes the stream and releases state.- Specified by:
closeQuietlyin interfacePayload<URL>
-
-