|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.co.hit.live.web.action.AbstractWebAction
kr.co.hit.live.web.xplatform.XPlatformWebAction
public class XPlatformWebAction
| Field Summary | |
|---|---|
protected String |
dataType
|
protected ServiceDelegator |
serviceDelegator
|
| Fields inherited from class kr.co.hit.live.web.action.AbstractWebAction |
|---|
context, logger |
| Constructor Summary | |
|---|---|
XPlatformWebAction()
|
|
| Method Summary | |
|---|---|
WebActionForward |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
WebActionDispatcher 서블릿이 호출하는 메소드이다. |
protected XPlatformMessage |
getMessage(javax.servlet.http.HttpServletRequest request)
|
protected XPlatformMessage |
handleMessage(XPlatformMessage message)
전달된 message를 받아서 처리하고 그 결과를 다시 XPlatformMessage 객체로 반환한다. |
boolean |
isDebug()
|
void |
setCompress(boolean comp)
(옵션) 압축 여부 |
void |
setDataType(String type)
(옵션) XML : "xml" Binaray : "bin" SSV : "ssv" |
void |
setDebug(boolean debug)
(옵션)HttpServletResponse에서 xPlatForm Data 리턴 값에 대한 Debug 정보 |
void |
setMethodSelector(String methodSelector)
(옵션)HttpServletRequest에서 Service Object의 Method를 호출하기 위한 Method명에 대한 request Parameter 명을 지정한다 |
void |
setServiceDelegator(ServiceDelegator serviceDelegator)
|
void |
setSvcSelector(String svcSelector)
(옵션)HttpServletRequest에서 Service Object를 호출 하기 위한 Service명에 대한 request Parameter 명을 지정한다 |
void |
showConfiguration(javax.servlet.http.HttpServletResponse response)
WebAction의 설정값을 출력하는 메소드이다. |
protected void |
writePlatformData(javax.servlet.http.HttpServletResponse response,
XPlatformMessage message)
xPlatformMessage 객체를 HttpServletResponse의 PlatformData으로 serialize 하여 전송한다. |
| Methods inherited from class kr.co.hit.live.web.action.AbstractWebAction |
|---|
createForward, getServletContext, getWebApplicationContext, setForward, setPrefix, setSuffix, setWebApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ServiceDelegator serviceDelegator
protected String dataType
| Constructor Detail |
|---|
public XPlatformWebAction()
| Method Detail |
|---|
public void showConfiguration(javax.servlet.http.HttpServletResponse response)
throws IOException
WebAction
showConfiguration in interface WebActionshowConfiguration in class AbstractWebActionIOExceptionpublic boolean isDebug()
public void setDebug(boolean debug)
debug - public void setSvcSelector(String svcSelector)
svcSelector - public void setMethodSelector(String methodSelector)
methodSelector - public void setDataType(String type)
type - public void setCompress(boolean comp)
comp - public void setServiceDelegator(ServiceDelegator serviceDelegator)
protected XPlatformMessage getMessage(javax.servlet.http.HttpServletRequest request)
throws IOException
IOExceptionprotected XPlatformMessage handleMessage(XPlatformMessage message)
message - context -
public WebActionForward execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
WebAction
execute in interface WebActionexecute in class AbstractWebActionException
protected void writePlatformData(javax.servlet.http.HttpServletResponse response,
XPlatformMessage message)
throws IOException,
com.tobesoft.xplatform.tx.PlatformException
response -
IOException
com.tobesoft.xplatform.tx.PlatformException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||