| Modifier and Type | Method and Description |
|---|---|
static DLPayloadEntity |
create(HttpResponse response) |
HttpResponse |
getHttpResponse()
The HttpResponse
|
InputStream |
getInputStream()
The raw inputstream
|
void |
writeToFile(File file)
Writes the current stream to the specified
file |
public static DLPayloadEntity create(HttpResponse response)
public HttpResponse getHttpResponse()
DLPayloadgetHttpResponse in interface DLPayloadpublic InputStream getInputStream()
DLPayloadgetInputStream in interface DLPayloadpublic void writeToFile(File file) throws IOException
DLPayloadfilewriteToFile in interface DLPayloadfile - the file to write toIOExceptionCopyright © 2017. All rights reserved.