public class EntryRequest extends Request
Entryrequest is sent without
Modified,
Is-Modifiedor
Unchangedit means that the file is lost. Also note that if
Modified,
Is-Modifiedor Unchanged is sent with
Entrythen Entry must be sent first.
DirectoryRequest,
ModifiedRequest,
ModifiedRequest,
UnchangedRequest| Constructor and Description |
|---|
EntryRequest(Entry theEntry)
Create an EntryRequest
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
getEntry() |
java.lang.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, modifyOutputStreampublic EntryRequest(Entry theEntry)
theEntry - the Entry to sendpublic java.lang.String getRequestString()
throws UnconfiguredRequestException
getRequestString in class RequestUnconfiguredRequestException - if the request has not been
properly configuredpublic boolean isResponseExpected()
isResponseExpected in class Requestpublic Entry getEntry()