public class ModifiedRequest extends Request
| Constructor and Description |
|---|
ModifiedRequest(File file,
boolean isBinary)
Construct a new modified request.
|
| Modifier and Type | Method and Description |
|---|---|
FileDetails |
getFileForTransmission()
If a file transmission is required, get the file object representing the
file to transmit after the request string.
|
String |
getRequestString()
Get the request String that will be passed to the server
|
boolean |
isResponseExpected()
Is a response expected from the server?
|
modifiesInputStream, modifyInputStream, modifyOutputStreampublic ModifiedRequest(File file, boolean isBinary)
theFile - the file that has been modifiedpublic String getRequestString() throws UnconfiguredRequestException
getRequestString in class RequestUnconfiguredRequestException - if the request has not been properly configuredpublic boolean isResponseExpected()
isResponseExpected in class Requestpublic FileDetails getFileForTransmission()
getFileForTransmission in class RequestCopyright © 2013. All rights reserved.