public class UnchangedRequest extends Request
Constructor and Description |
---|
UnchangedRequest(File file)
Construct an Unchanged request
|
UnchangedRequest(String theFilename)
Construct an Unchanged request
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestString()
Get the request String that will be passed to the server
|
boolean |
isResponseExpected()
Is a response expected from the server?
|
getFileForTransmission, modifiesInputStream, modifyInputStream, modifyOutputStream
public UnchangedRequest(String theFilename)
theFilename
- the unchanged file's namepublic UnchangedRequest(File file)
file
- the unchanged filepublic String getRequestString() throws UnconfiguredRequestException
getRequestString
in class Request
UnconfiguredRequestException
- if the request has not been properly configuredpublic boolean isResponseExpected()
isResponseExpected
in class Request
Copyright © 2016. All rights reserved.