public class CreatedResponse extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
localFile
fullpath to the file being processed.
|
Constructor and Description |
---|
CreatedResponse() |
Modifier and Type | Method and Description |
---|---|
protected DateFormat |
getDateFormatter()
Returns the DateFormatter instance that parses and formats date Strings.
|
protected String |
getEntryConflict(Date date,
boolean hadConflicts)
Returns the Conflict field for the file's entry.
|
boolean |
isTerminalResponse()
Is this a terminal response, i.e.
|
void |
process(LoggedDataInputStream dis,
ResponseServices services)
Process the data for the response.
|
protected String localFile
public void process(LoggedDataInputStream dis, ResponseServices services) throws ResponseException
process
in interface Response
r
- the buffered reader allowing the client to read the server's
response. Note that the actual response name has already been
read and the reader is positioned just before the first
argument, if any.services
- various services that are useful to response handlersResponseException
- if something goes wrong handling this responseprotected String getEntryConflict(Date date, boolean hadConflicts)
date
- the date to put inhadConflicts
- if there were conflicts (e.g after merge)protected DateFormat getDateFormatter()
public boolean isTerminalResponse()
isTerminalResponse
in interface Response
Copyright © 2016. All rights reserved.