Package com.github.dandelion.datatables.core.extension.feature

Examples of com.github.dandelion.datatables.core.extension.feature.PipeliningFeature


    entry = new MapEntry<ConfigToken<?>, Object>(TableConfig.AJAX_PIPELINING, "true");
    processor.process(entry, tableConfiguration);
    assertThat(entry.getValue()).isEqualTo(true);
    assertThat(tableConfiguration.getInternalExtensions()).hasSize(1);
    assertThat(tableConfiguration.getStagingConfiguration().get(TableConfig.AJAX_PIPESIZE)).isEqualTo(5);
    assertThat(new PipeliningFeature()).isIn(tableConfiguration.getInternalExtensions());
  }
View Full Code Here


    entry = new MapEntry<ConfigToken<?>, Object>(TableConfig.AJAX_PIPELINING, "true");
    processor.process(entry, tableConfiguration);
    assertThat(entry.getValue()).isEqualTo(true);
    assertThat(tableConfiguration.getInternalExtensions()).hasSize(1);
    assertThat(tableConfiguration.getConfigurations().get(TableConfig.AJAX_PIPESIZE)).isEqualTo(3);
    assertThat(new PipeliningFeature()).isIn(tableConfiguration.getInternalExtensions());
  }
View Full Code Here

   
    if (StringUtils.isNotBlank(stringifiedValue)) {
      Boolean retval = Boolean.parseBoolean(stringifiedValue);

      if (retval != null && retval) {
        registerExtension(new PipeliningFeature());
      }
     
      if(!isTableEntryPresent(TableConfig.AJAX_PIPESIZE)){
        addTableEntry(TableConfig.AJAX_PIPESIZE, 5);
      }
View Full Code Here

TOP

Related Classes of com.github.dandelion.datatables.core.extension.feature.PipeliningFeature

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.