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

org.basex.http.ws.WsPath Maven / Gradle / Ivy

There is a newer version: 11.6
Show newest version
package org.basex.http.ws;

import org.basex.http.web.*;

/**
 * This class represents the Path of a WebSocket endpoint.
 *
 * @author BaseX Team, 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);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy