org.netbeans.lib.cvsclient.request
Class EntryRequest
java.lang.Object
org.netbeans.lib.cvsclient.request.Request
org.netbeans.lib.cvsclient.request.EntryRequest
public class EntryRequest
- extends Request
Sends an entry to the server, to tell the server which version of a file
is on the local machine. The filename is relative to the most recent
Directory request. Note that if an
Entry
request is sent
without Modified
, Is-Modified
or Unchanged
it means that the file is lost. Also note that if Modified
,
Is-Modified
or Unchanged is sent with Entry
then Entry must be sent first.
- Author:
- Robert Greig
- See Also:
DirectoryRequest
,
ModifiedRequest
,
ModifiedRequest
,
UnchangedRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntryRequest
public EntryRequest(Entry theEntry)
- Create an EntryRequest
- Parameters:
theEntry
- the Entry to send
getRequestString
public String getRequestString()
throws UnconfiguredRequestException
- Get the request String that will be passed to the server
- Specified by:
getRequestString
in class Request
- Returns:
- the request String
- Throws:
UnconfiguredRequestException
- if the request has not been
properly configured
isResponseExpected
public boolean isResponseExpected()
- Is a response expected from the server?
- Specified by:
isResponseExpected
in class Request
- Returns:
- true if a response is expected, false if no response if
expected
getEntry
public Entry getEntry()
Copyright © 2011. All Rights Reserved.