Package dap4.dap4lib

Class DapProtocol

  • All Implemented Interfaces:
    DapCodes

    public abstract class DapProtocol
    extends Object
    implements DapCodes
    Store protocol related constants
    • Constructor Detail

      • DapProtocol

        public DapProtocol()
    • Method Detail

      • isDap4URI

        public static boolean isDap4URI​(XURI xuri)
        A path is a DAP4 path if at least one of the following is true. 1. it has "dap4:" as its leading protocol 2. it has protocol=dap4 | mode=dap4 | dap4 in its fragment 3. it has dmr|dsr|dap as its request extension 4. it has dap4|d4ts in its path
        Parameters:
        xuri - parsed uri
        Returns:
        true if this uri appears to be processible by DAP4
      • isDap4URI

        public static boolean isDap4URI​(String uri)