package examples.tutorial.weather4;
import juzu.impl.request.ControllerHandler;
import juzu.impl.request.ControlParameter;
import juzu.impl.request.PhaseParameter;
import juzu.impl.request.ContextualParameter;
import juzu.impl.request.BeanParameter;
import juzu.impl.common.Tools;
import java.util.Arrays;
import juzu.request.Phase;
import juzu.impl.plugin.controller.descriptor.ControllerDescriptor;
import javax.annotation.Generated;
import juzu.impl.common.Cardinality;
import juzu.impl.request.Request;
@Generated(value={})
public class Weather_ {
private static final Class<examples.tutorial.weather4.Weather> TYPE = examples.tutorial.weather4.Weather.class;
private static final ControllerHandler<Phase.View> method_0 = new ControllerHandler<Phase.View>("Weather.index",Phase.VIEW,TYPE,Tools.safeGetMethod(TYPE,"index"), Arrays.<ControlParameter>asList());
public static Phase.View.Dispatch index() { return Request.createViewDispatch(method_0); }
private static final ControllerHandler<Phase.View> method_1 = new ControllerHandler<Phase.View>("Weather.index",Phase.VIEW,TYPE,Tools.safeGetMethod(TYPE,"index",java.lang.String.class), Arrays.<ControlParameter>asList(new PhaseParameter("location",java.lang.String.class,java.lang.String.class,Cardinality.SINGLE,null)));
public static Phase.View.Dispatch index(java.lang.String location) { return Request.createViewDispatch(method_1,(Object)location); }
public static final ControllerDescriptor DESCRIPTOR = new ControllerDescriptor(TYPE,Arrays.<ControllerHandler<?>>asList(method_0,method_1));
}
