public class AgentRequestFilterExample extends java.lang.Object implements AgentRequestFilter
Constructor and Description |
---|
AgentRequestFilterExample() |
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)
Overridden to modify the generated HTML page by adding the user IP address.
|
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)
Overridden to intercept "resize" action.
|
void |
preRenderWindows(ClientAgent agent,
java.util.List windows)
Called before the given window is rendered as HTML page
|
public HttpResponseData preProcessRequest(ClientAgent agent)
preProcessRequest
in interface AgentRequestFilter
agent
- ClientAgentpublic void postProcessRequest(ClientAgent agent, HttpResponseData responseData)
postProcessRequest
in interface AgentRequestFilter
agent
- ClientAgentresponseData
- HttpResponseDatapublic boolean preEmulateAction(ClientAgent agent, ActionData data)
preEmulateAction
in interface AgentRequestFilter
agent
- client agentdata
- contains the information about the action to be emulatedpublic void postEmulateAction(ClientAgent agent, ActionData data)
postEmulateAction
in interface AgentRequestFilter
agent
- client agentdata
- contains the information about the action to be emulatedpublic void preRenderWindows(ClientAgent agent, java.util.List windows)
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)
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 codeCopyright © 2000-2012 CreamTec LLC. All Rights Reserved.