Constructor and Description |
---|
URLPayload(URL url) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeQuietly()
Closes the stream and releases state.
|
URL |
getRaw()
Gets the raw underlying object for the Payload.
|
InputStream |
open()
Opens and returns the input stream.
|
public URLPayload(URL url)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public InputStream open()
public void closeQuietly()
closeQuietly
in interface Payload<URL>
Copyright © 2017. All rights reserved.