|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.onebusaway.presentation.impl.resources.ResourceAction
public class ResourceAction
Field Summary | |
---|---|
protected String |
_id
|
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
ResourceAction()
|
Method Summary | |
---|---|
protected void |
ensureResource()
|
String |
execute()
|
String |
getContentDisposition()
|
long |
getContentLength()
|
String |
getContentType()
|
String |
getId()
|
InputStream |
getInputStream()
|
Date |
getLastModified()
|
void |
setId(String id)
|
void |
setResourceService(ResourceService resourceService)
|
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, 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 |
Field Detail |
---|
protected String _id
Constructor Detail |
---|
public ResourceAction()
Method Detail |
---|
public void setResourceService(ResourceService resourceService)
public void setId(String id)
public String getId()
public InputStream getInputStream() throws IOException
IOException
public String getContentType()
public long getContentLength()
public String getContentDisposition()
public Date getLastModified()
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
protected void ensureResource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |