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, modifyOutputStream
public ModifiedRequest(File file, boolean isBinary)
theFile
- the file that has been modifiedpublic String getRequestString() throws UnconfiguredRequestException
getRequestString
in class Request
UnconfiguredRequestException
- if the request has not been properly configuredpublic boolean isResponseExpected()
isResponseExpected
in class Request
public FileDetails getFileForTransmission()
getFileForTransmission
in class Request
Copyright © 2016. All rights reserved.