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