Package org.openstack4j.model.common
Interface DLPayload
-
- All Known Implementing Classes:
DLPayloadEntity
public interface DLPayloadA Payload which encapsulates downstream data- Author:
- Jeremy Unruh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpResponsegetHttpResponse()The HttpResponseInputStreamgetInputStream()The raw inputstreamvoidwriteToFile(File file)Writes the current stream to the specifiedfile
-
-
-
Method Detail
-
getHttpResponse
HttpResponse getHttpResponse()
The HttpResponse- Returns:
- the HttpResponse
-
getInputStream
InputStream getInputStream()
The raw inputstream- Returns:
- the inputstream
-
writeToFile
void writeToFile(File file) throws IOException
Writes the current stream to the specifiedfile- Parameters:
file- the file to write to- Throws:
IOException
-
-