|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.onebusaway.api.actions.OneBusAwayApiActionSupport
org.onebusaway.api.actions.api.ApiActionSupport
public class ApiActionSupport
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ApiActionSupport(int defaultVersion)
|
Method Summary | |
---|---|
protected BeanFactoryV2 |
getBeanFactoryV2()
|
protected BeanFactoryV2 |
getBeanFactoryV2(MaxCountSupport maxCount)
|
ResponseBean |
getModel()
|
protected int |
getReturnVersion()
|
protected boolean |
isVersion(int version)
Protected Methods |
protected org.apache.struts2.rest.DefaultHttpHeaders |
setExceptionResponse()
|
void |
setIncludeReferences(boolean includeReferences)
|
void |
setKey(String key)
|
protected org.apache.struts2.rest.DefaultHttpHeaders |
setOkResponse(Object data)
Response Bean Generation Methods |
protected org.apache.struts2.rest.DefaultHttpHeaders |
setResourceNotFoundResponse()
|
protected org.apache.struts2.rest.DefaultHttpHeaders |
setUnknownVersionResponse()
|
protected org.apache.struts2.rest.DefaultHttpHeaders |
setValidationErrorsResponse()
|
void |
setVersion(int version)
|
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ApiActionSupport(int defaultVersion)
Method Detail |
---|
public void setVersion(int version)
public void setKey(String key)
public void setIncludeReferences(boolean includeReferences)
public ResponseBean getModel()
getModel
in interface com.opensymphony.xwork2.ModelDriven<ResponseBean>
protected boolean isVersion(int version)
version
-
protected BeanFactoryV2 getBeanFactoryV2()
protected BeanFactoryV2 getBeanFactoryV2(MaxCountSupport maxCount)
protected org.apache.struts2.rest.DefaultHttpHeaders setOkResponse(Object data)
protected org.apache.struts2.rest.DefaultHttpHeaders setValidationErrorsResponse()
protected org.apache.struts2.rest.DefaultHttpHeaders setResourceNotFoundResponse()
protected org.apache.struts2.rest.DefaultHttpHeaders setExceptionResponse()
protected org.apache.struts2.rest.DefaultHttpHeaders setUnknownVersionResponse()
protected int getReturnVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |