Package ratpack.groovy.handling.internal

Examples of ratpack.groovy.handling.internal.GroovyDslChainActionTransformer


   * @throws Exception any exception thrown by the given closure
   */
  public static Handler chain(@Nullable LaunchConfig launchConfig, @Nullable Registry registry, @DelegatesTo(value = GroovyChain.class, strategy = Closure.DELEGATE_FIRST) Closure<?> closure) throws Exception {
    return ChainBuilders.build(
      launchConfig != null && launchConfig.isDevelopment(),
      new GroovyDslChainActionTransformer(launchConfig, registry),
      new ClosureInvoker<Object, GroovyChain>(closure).toAction(registry, Closure.DELEGATE_FIRST)
    );
  }
View Full Code Here

TOP

Related Classes of ratpack.groovy.handling.internal.GroovyDslChainActionTransformer

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.