public abstract class AbstractAgentRequestFilter extends java.lang.Object implements AgentRequestFilter
Constructor and Description |
---|
AbstractAgentRequestFilter() |
Modifier and Type | Method and Description |
---|---|
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
|
public HttpResponseData preProcessRequest(ClientAgent agent)
AgentRequestFilter
preProcessRequest
in interface AgentRequestFilter
agent
- client agentpublic boolean preEmulateAction(ClientAgent agent, ActionData data)
AgentRequestFilter
preEmulateAction
in interface AgentRequestFilter
agent
- client agentdata
- contains the information about the action to be emulatedpublic void postEmulateAction(ClientAgent agent, ActionData data)
AgentRequestFilter
postEmulateAction
in interface AgentRequestFilter
agent
- client agentdata
- contains the information about the action to be emulatedpublic void preRenderWindows(ClientAgent agent, java.util.List windows)
AgentRequestFilter
preRenderWindows
in interface AgentRequestFilter
agent
- client agentwindows
- Window to be renderedpublic 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 void postProcessRequest(ClientAgent agent, HttpResponseData responseData)
AgentRequestFilter
postProcessRequest
in interface AgentRequestFilter
agent
- client agentresponseData
- containing the generated pageCopyright © 2000-2012 CreamTec LLC. All Rights Reserved.