
com.ithit.webdav.integration.servlet.websocket.MovedDavWebSocketNotification Maven / Gradle / Ivy
package com.ithit.webdav.integration.servlet.websocket;
/**
* Represents VO to exchange between client and server for move type
*/
public class MovedDavWebSocketNotification extends DavWebSocketNotification {
private final String targetPath;
public MovedDavWebSocketNotification(String itemPath, String operation, String targetPath) {
super(itemPath, operation);
this.targetPath = targetPath;
}
String getTargetPath() {
return targetPath;
}
@Override
public String toString() {
return "{" +
"\"ItemPath\" : \"" + getItemPath() + "\" ," +
"\"TargetPath\" : \"" + getTargetPath() + "\" ," +
"\"EventType\" : \"" + getOperation() + "\"" +
"}";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy