All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ithit.webdav.integration.servlet.websocket.DavWebSocketNotification Maven / Gradle / Ivy

There is a newer version: 7.3.10641
Show newest version
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