public abstract class MaliCommonAction
extends java.lang.Object
| Constructor and Description |
|---|
MaliCommonAction() |
| Modifier and Type | Method and Description |
|---|---|
AJAXMESGObject |
createAJAXMESGObject()
建立新的 ajaxmesg
|
java.lang.String |
getTarget() |
void |
outputHtml(java.util.Vector htmlString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
outputJson(java.lang.String jsonString,
javax.servlet.http.HttpServletResponse response) |
void |
outputXML(java.lang.String xml,
javax.servlet.http.HttpServletResponse response) |
void |
outputXML(java.lang.String xml,
javax.servlet.http.HttpServletResponse response,
boolean inisshowxmlString) |
abstract MaliActionTarget |
run(MaliActionParameter param,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setTarget(java.lang.String targetaction) |
public abstract MaliActionTarget run(MaliActionParameter param, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
java.io.IOExceptionjavax.servlet.ServletExceptionpublic void outputXML(java.lang.String xml,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOExceptionpublic void outputXML(java.lang.String xml,
javax.servlet.http.HttpServletResponse response,
boolean inisshowxmlString)
throws java.io.IOException
xml - response - inisshowxmlString - server不要顯示xml訊息可設為falsejava.io.IOExceptionpublic AJAXMESGObject createAJAXMESGObject()
public void setTarget(java.lang.String targetaction)
public java.lang.String getTarget()
public void outputHtml(java.util.Vector htmlString,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
java.lang.Exceptionpublic void outputJson(java.lang.String jsonString,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
java.io.IOException