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, modifyOutputStream
public ModifiedRequest(java.io.File file, boolean isBinary)
theFile
- the file that has been modifiedpublic java.lang.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
Built on January 12 2013. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.