public class AjaxSwingAgentRequestFilter extends java.lang.Object implements AgentRequestFilter
Constructor and Description |
---|
AjaxSwingAgentRequestFilter() |
Modifier and Type | Method and Description |
---|---|
AgentRequestFilter |
getDelegate() |
void |
postEmulateAction(ClientAgent agent,
ActionData data)
Called after the action emulation is complete.
|
void |
postProcessRequest(ClientAgent agent,
HttpResponseData responseData)
Called when a request is processed and about to be returned to the router servlet.
|
java.lang.String |
postRenderWindows(ClientAgent agent,
java.util.List windows,
java.lang.String htmlCode)
Called after the given window is rendered as HTML page
|
boolean |
preEmulateAction(ClientAgent agent,
ActionData data)
Called after the controls have been updated with the data but before the action
is emulated.
|
HttpResponseData |
preProcessRequest(ClientAgent agent)
Called when a request is received and the agent is initialized.
|
void |
preRenderWindows(ClientAgent agent,
java.util.List windows)
Called before the given window is rendered as HTML page
|
void |
setDelegate(AgentRequestFilter delegate) |
public AgentRequestFilter getDelegate()
public void setDelegate(AgentRequestFilter delegate)
public void postEmulateAction(ClientAgent agent, ActionData data)
AgentRequestFilter
postEmulateAction
in interface AgentRequestFilter
agent
- client agentdata
- contains the information about the action to be emulatedpublic void postProcessRequest(ClientAgent agent, HttpResponseData responseData)
AgentRequestFilter
postProcessRequest
in interface AgentRequestFilter
agent
- client agentresponseData
- containing the generated pagepublic java.lang.String postRenderWindows(ClientAgent agent, java.util.List windows, java.lang.String htmlCode)
AgentRequestFilter
postRenderWindows
in interface AgentRequestFilter
agent
- client agentwindows
- Window that was renderedhtmlCode
- The HTML code for the page produced by AjaxSwing engine. Modifications
to the HTMLPage object associated with the client agent will not be reflected in the
generated HTML codepublic boolean preEmulateAction(ClientAgent agent, ActionData data)
AgentRequestFilter
preEmulateAction
in interface AgentRequestFilter
agent
- client agentdata
- contains the information about the action to be emulatedpublic HttpResponseData preProcessRequest(ClientAgent agent)
AgentRequestFilter
preProcessRequest
in interface AgentRequestFilter
agent
- client agentpublic void preRenderWindows(ClientAgent agent, java.util.List windows)
AgentRequestFilter
preRenderWindows
in interface AgentRequestFilter
agent
- client agentwindows
- Window to be renderedCopyright © 2000-2012 CreamTec LLC. All Rights Reserved.