org.basex.http.ws.WsPath Maven / Gradle / Ivy
The newest version!
package org.basex.http.ws;
import org.basex.http.web.*;
/**
* This class represents the Path of a WebSocket endpoint.
*
* @author BaseX Team 2005-24, BSD License
* @author Johannes Finckh
*/
public final class WsPath extends WebPath implements Comparable {
/**
* Constructor.
* @param path WebSocket path
*/
WsPath(final String path) {
super(path);
}
@Override
public int compareTo(final WsPath o) {
return path.compareTo(o.path);
}
}