
com.ithit.webdav.integration.servlet.websocket.MovedDavWebSocketNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jakarta-integration Show documentation
Show all versions of jakarta-integration Show documentation
IT Hit WebDAV integration for new Jakarta Java servlet containers
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