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
,
Serialized FormConstructor and Description |
---|
EntryRequest(Entry theEntry)
Create an EntryRequest
|
Modifier and Type | Method and Description |
---|---|
Entry |
getEntry() |
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 EntryRequest(Entry theEntry)
theEntry
- the Entry to sendpublic String getRequestString() throws UnconfiguredRequestException
getRequestString
in class Request
UnconfiguredRequestException
- if the request has not been properly configuredpublic boolean isResponseExpected()
isResponseExpected
in class Request
public Entry getEntry()
Copyright © 2016. All rights reserved.