public class Seam21Interceptor extends Object implements org.granite.messaging.amf.process.AMF3MessageInterceptor
| Constructor and Description |
|---|
Seam21Interceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(flex.messaging.messages.Message amfReqMessage,
flex.messaging.messages.Message amfRespMessage) |
void |
before(flex.messaging.messages.Message amfReqMessage) |
protected void |
exportHeaders(org.granite.messaging.webapp.HttpServletRequestParamWrapper request,
flex.messaging.messages.Message amf3RequestMessage)
Reads the AMF request header and populate them in the request object
|
protected void |
handleConversationPropagation() |
protected void |
importHeaders(flex.messaging.messages.Message amf3ResponseMessage)
Update the AMF response message with the conversationId and other parameters.
|
protected void |
initializeSeamContext(HttpServletRequest request)
Initialize the Seam Context
|
protected void |
processStatusMessages(flex.messaging.messages.Message amf3ResponseMessage)
Process the Status messages and sets to the response header.
|
protected void |
restoreConversationId() |
public Seam21Interceptor()
public void before(flex.messaging.messages.Message amfReqMessage)
before in interface org.granite.messaging.amf.process.AMF3MessageInterceptorpublic void after(flex.messaging.messages.Message amfReqMessage, flex.messaging.messages.Message amfRespMessage)
after in interface org.granite.messaging.amf.process.AMF3MessageInterceptorprotected void exportHeaders(org.granite.messaging.webapp.HttpServletRequestParamWrapper request, flex.messaging.messages.Message amf3RequestMessage)
request - - HttpServletRequestParamWrapperamf3RequestMessage - protected void importHeaders(flex.messaging.messages.Message amf3ResponseMessage)
amf3ResponseMessage - protected void initializeSeamContext(HttpServletRequest request)
request - - HttpServletRequestprotected void processStatusMessages(flex.messaging.messages.Message amf3ResponseMessage)
amf3ResponseMessage - protected void handleConversationPropagation()
protected void restoreConversationId()