@Retention(value=CLASS)
@Target(value=TYPE)
public @interface Controller
Mark a class as Controller, which contains at least one of the following:
public abstract java.lang.String value
Indicate the context path for all action methods declared in this controller.
Default value: “/
”
public abstract java.lang.String[] port
Specify the port(s) this controller’s action method shall be routed from.
AppConfigKey.NAMED_PORTS
Copyright © 2014–2017 ActFramework. All rights reserved.