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()
DLPayload
getHttpResponse
in interface DLPayload
public InputStream getInputStream()
DLPayload
getInputStream
in interface DLPayload
public void writeToFile(File file) throws IOException
DLPayload
file
writeToFile
in interface DLPayload
file
- the file to write toIOException
Copyright © 2017. All rights reserved.