|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.controller.rest.PingController
public class PingController
Simple controller that answers PING requests on web service stateless GET requests - not designed for traditional web requests.
| Constructor Summary | |
|---|---|
PingController()
|
|
| Method Summary | |
|---|---|
void |
checkAccess(RequestContext context)
Check access to the current controller, and throw an exception if access to the given request is forbidden. |
java.lang.String |
execute(RequestContext context)
Execute the logic previous to a view display or to an action, using the given context as input. |
java.lang.String |
getMethodName()
Get the java method name, for the current controller. |
java.lang.String |
getName()
Get the name of the current controller; for navigation purposes. |
NavigationStage |
getNavigationStage(RenderContext context,
Link link)
Get the navigation stage according to the current controller and context value. |
int |
getPathInfoParamSize()
Return the number of path-info params for this method. |
java.lang.String[] |
getRequestTypes()
Get the types of requests that the current controller may answer; this will return a non-empty array if the controller is restricted to some request types; null if it is unrestricted. |
java.lang.String |
getResourcePath()
Get the path to resources related to the current controller. |
java.lang.String |
getRootModuleName()
Get the base root module name upon which this controller is based. |
boolean |
needsLogIn()
Check if action to the current controller needs log in or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingController()
| Method Detail |
|---|
public java.lang.String getName()
RestController
getName in interface RestControllerpublic java.lang.String getMethodName()
RestController
getMethodName in interface RestControllerResourceMethodHolderpublic java.lang.String[] getRequestTypes()
RestController
getRequestTypes in interface RestControllerpublic java.lang.String getRootModuleName()
RestController
getRootModuleName in interface RestControllerpublic java.lang.String getResourcePath()
RestController
getResourcePath in interface RestControllerpublic int getPathInfoParamSize()
RestController
getPathInfoParamSize in interface RestControllerpublic boolean needsLogIn()
RestController
needsLogIn in interface RestController
public void checkAccess(RequestContext context)
throws AccessException
RestController
checkAccess in interface RestControllerAccessException
public java.lang.String execute(RequestContext context)
throws ValidationException
RestControllerNested non-leaf controllers may throw an exception if this method is called upon them, because themselves they don't process requests
execute in interface RestControllerValidationException
public NavigationStage getNavigationStage(RenderContext context,
Link link)
RestControllerNested non-leaf controllers may throw an exception if this method is called upon them, because themselves they don't process requests
getNavigationStage in interface RestController
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||