public class ModifiedRequest extends Request
| Constructor and Description |
|---|
ModifiedRequest(java.io.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.
|
java.lang.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(java.io.File file,
boolean isBinary)
theFile - the file that has been modifiedpublic java.lang.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 Request