@Path(value="annotations") public class AnnotationsController extends BaseController implements BaseInterface
| Constructor and Description |
|---|
AnnotationsController() |
| Modifier and Type | Method and Description |
|---|---|
String |
method()
Should inherit @GET, @Controller and @Path("no_view") from BaseController.
|
void |
methodNoOverrideJaxrs()
Should not inherit @View because it defines JAX-RS annotations.
|
void |
methodNoOverrideMvc()
Should not inherit @View because it defines MVC annotations.
|
void |
methodWithView()
Should inherit @GET @Controller @Path("view") @View("success.jsp")
from BaseController.
|
void |
methodWithViewInterface()
Should inherit @GET @Controller @Path("view_interface") @View("success.jsp")
from BaseInterface.
|
public String method()
method in class BaseControllerpublic void methodWithView()
methodWithView in interface BaseInterfacemethodWithView in class BaseControllerpublic void methodWithViewInterface()
methodWithViewInterface in interface BaseInterface@GET @Path(value="no_override_jaxrs") public void methodNoOverrideJaxrs()
methodNoOverrideJaxrs in interface BaseInterfacemethodNoOverrideJaxrs in class BaseController@Controller public void methodNoOverrideMvc()
methodNoOverrideMvc in interface BaseInterfacemethodNoOverrideMvc in class BaseControllerCopyright © 2015. All Rights Reserved.