|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
org.nuiton.web.struts2.BaseAction
org.nuiton.wikitty.publication.ui.action.PublicationBaseAction
org.nuiton.wikitty.publication.ui.action.PublicationActionRaw
public class PublicationActionRaw
Java class for the raw action that return wikittyPub simply with their Mime Type.
| Field Summary | |
|---|---|
protected InputStream |
inputStream
|
protected String |
mimeType
|
protected javax.servlet.http.HttpServletResponse |
response
|
| Fields inherited from class org.nuiton.wikitty.publication.ui.action.PublicationBaseAction |
|---|
ARG_CONTENT_FIELD, ARG_MIMETYPE, ARG_QUERY, ARGS_KEY, CONTEXT_ACTION_KEY, CONTEXT_APPS_KEY, CONTEXT_DATA_KEY, contextApps, contextData, SEARCH_SEPARATOR, SEPARATOR, session |
| Fields inherited from class com.opensymphony.xwork2.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork2.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
PublicationActionRaw()
|
|
| Method Summary | |
|---|---|
String |
execute()
|
static PublicationActionRaw |
getAction()
|
InputStream |
getInputStream()
|
String |
getMimeType()
|
void |
setMimeType(String mimeType)
|
void |
setServletResponse(javax.servlet.http.HttpServletResponse arg0)
|
| Methods inherited from class org.nuiton.wikitty.publication.ui.action.PublicationBaseAction |
|---|
getArgs, getArgument, getContextApps, getContextArgs, getContextData, getError, getWikittyPublicationProxy, getWikittyPublicationSession, searchCriteria, setContextApps, setContextData, setSession |
| Methods inherited from class org.nuiton.web.struts2.BaseAction |
|---|
_, _ |
| 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, setContainer, setFieldErrors, validate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String mimeType
protected javax.servlet.http.HttpServletResponse response
protected InputStream inputStream
| Constructor Detail |
|---|
public PublicationActionRaw()
| Method Detail |
|---|
public static PublicationActionRaw getAction()
public String execute()
throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionpublic String getMimeType()
public void setMimeType(String mimeType)
public void setServletResponse(javax.servlet.http.HttpServletResponse arg0)
setServletResponse in interface org.apache.struts2.interceptor.ServletResponseAwarepublic InputStream getInputStream()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||