|
||||||||||
| 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.flex.FlexWebAction
public class FlexWebAction
Flex의 RemoteObject 호출 기능을 구현하기 위한 WebAction 클래스이다.
이 클래스에서는 다음의 Diagnostic Context 값들을 생성한다.
| Field Summary | |
|---|---|
static String |
DEFAULT_CLIENT_MESSAGE_KEY
서버 처리 메시지가 없을 경우 전달할 디폴트 메시지 키 |
static String |
DEFAULT_DATA_KEY
서버 데이터를 전달하기 위한 디폴트 키명 |
static String |
DEFAULT_MESSAGE_KEY
서버 처리 메시지를 전달하기 위한 디폴트 키명 |
static String |
DEFAULT_SERVERTIME_KEY
서버 시간을 전달하기 위한 디폴트 키명 |
protected ServiceDelegator |
serviceDelegator
|
| Fields inherited from class kr.co.hit.live.web.action.AbstractWebAction |
|---|
context, logger |
| Constructor Summary | |
|---|---|
FlexWebAction()
|
|
| Method Summary | |
|---|---|
protected RemotingMessage |
convertLegacy(Map<?,?> data)
|
WebActionForward |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
WebActionDispatcher 서블릿이 호출하는 메소드이다. |
protected AcknowledgeMessage |
handleRemotingMessage(RemotingMessage message,
ApplicationContext context)
|
protected AmfPacket |
invoke(AmfPacket amfRequestPacket,
ApplicationContext context)
|
protected AmfPacket |
readMessage(javax.servlet.http.HttpServletRequest request)
HTTP Request의 input stream을 deserialize하여 AmfMessage 객체를 생성하여 반환한다. |
void |
setDataKey(String key)
(옵션)서버 시간을 전달하기 위한 키명 Setter. - default: "svrtime" |
void |
setMessageKey(String key)
(옵션)서버 처리 메시지를 전달하기 위한 키명 Setter. - default: "message" |
void |
setServiceDelegator(ServiceDelegator delegator)
주어진 ServiceDelegator를 사용하도록 MessageDelegator를 생성한다. |
void |
setTimeKey(String key)
(옵션)서버 데이터를 전달하기 위한 키명 Setter. - default: "data" |
protected Object |
wrapResult(Object result)
|
protected void |
writeMessage(javax.servlet.http.HttpServletResponse response,
AmfPacket amfMessage)
AmfMessage 객체를 HTTP Response의 output stream으로 serialize 하여 전송한다. |
| Methods inherited from class kr.co.hit.live.web.action.AbstractWebAction |
|---|
createForward, getServletContext, getWebApplicationContext, setForward, setPrefix, setSuffix, setWebApplicationContext, showConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ServiceDelegator serviceDelegator
public static final String DEFAULT_MESSAGE_KEY
public static final String DEFAULT_CLIENT_MESSAGE_KEY
public static final String DEFAULT_DATA_KEY
public static final String DEFAULT_SERVERTIME_KEY
| Constructor Detail |
|---|
public FlexWebAction()
| Method Detail |
|---|
public void setServiceDelegator(ServiceDelegator delegator)
delegator - public void setMessageKey(String key)
key - public void setDataKey(String key)
key - public void setTimeKey(String key)
key -
protected AcknowledgeMessage handleRemotingMessage(RemotingMessage message,
ApplicationContext context)
protected RemotingMessage convertLegacy(Map<?,?> data)
protected Object wrapResult(Object result)
protected AmfPacket invoke(AmfPacket amfRequestPacket,
ApplicationContext 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 AmfPacket readMessage(javax.servlet.http.HttpServletRequest request)
throws IOException,
ClassNotFoundException
request -
IOException
ClassNotFoundException
protected void writeMessage(javax.servlet.http.HttpServletResponse response,
AmfPacket amfMessage)
throws IOException
response - amfMessage -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||